Hit Detection Area Expansion for Depth-Based Collision in Virtual Games
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In virtual space games, accurately determining whether an object has hit another object in the depth direction can be challenging due to difficulties in grasping the spatial positioning of objects, leading to unreliable hit detection and controllability issues.
Innovation Solution
The implementation of a game program that controls a virtual camera and expands the hit detection area in the depth direction, allowing for precise determination of object collisions by defining and updating hit detection areas based on the player character's position and orientation, and adding additional areas to enhance detection accuracy.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If a hit detection area is defined for an object in virtual space, then hit detection can be performed, but it becomes difficult to accurately determine collisions in the depth direction when objects are shifted from each other
Solution Approach 1:
The patent applies dimensionality change by expanding the hit detection area in the depth direction (Z-axis) of the virtual camera. Instead of using a conventional two-dimensional hit detection area, the system creates a three-dimensional expanded area that extends forward and backward in the depth direction. This allows the hit detection to capture collisions that would otherwise be missed when objects are positioned at different depths, thereby improving both detection accuracy and player controllability without requiring precise depth perception.
2Ease of operation
If the hit detection area is expanded in the depth direction, then it becomes easier to hit objects even when positions are shifted, but the complexity of defining and managing the hit detection area increases
Solution Approach 1:
The patent applies segmentation by dividing the expanded hit detection area into multiple components: a reference area (the original hit detection area) and additional areas (front and back areas in the depth direction). This segmentation allows the system to manage the complex expanded area by processing each component separately during hit detection, reducing computational complexity while maintaining the ease of hitting action. The segmentation enables efficient collision detection by checking multiple discrete areas rather than managing a single complex three-dimensional volume.
Data Source
AI summary
An example of an information processing system controls an action by a player character object in a virtual space in response to an action instruction based on an operation input. When the player character object performs the action, the information processing system defines a hit detection area used for defining whether the action has hit another object other than the player character object at a position that is determined based on the position and the orientation of the player character object in the virtual space, and expands the hit detection area in the depth direction of a virtual camera. If the expanded hit detection area is in contact with the other object, the information processing system performs a process based on the action against the other object.


