Method for realizing three-dimensional game collision detection at server end
A 3D game and collision detection technology, applied in instruments, computing, image data processing, etc., can solve problems such as the limited creativity of art and planning developers, the lack of attractiveness of game players, and the inability of players to experience 3D, so as to reduce data Dealing with burdens, removing creative constraints, and ensuring the effect of fair competition
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0046] Example 1. Use a bounding sphere to describe objects and surfaces for collision detection.
[0047] Referring to Fig. 3 and Fig. 4, the game player in Fig. 3 is described by a bounding sphere and a bounding box respectively. In Figure 4, the surrounding ball describes the game player, the surface is the wall of the room, A is the center of the ball, which is the current position of the surrounding ball, and B is the destination position to be moved to. Connect two points A and B with a line segment. When this line segment intersects plane 0, then judge whether this point is in plane 0. If it is, it is considered that it is impossible to move from point A to point B. If they do not intersect, it is also possible that the ball has not completely passed through the plane, and the calculation needs to continue. Make a perpendicular line from point B to plane 0, intersecting the plane. If the intersection point is within the plane range, continue to judge whether the lengt...
example 2
[0048] Example 2. Use the bounding box to describe the object and the surface for collision detection.
[0049] Referring to Fig. 3 and Fig. 5, in Fig. 5, P1 represents the current position of the game player, and P2 represents the target position of the game player. First, a temporary bounding box A can be constructed based on the start and end positions of the bounding box, which contains the start and end bounding boxes. We use this temporary bounding box to iterate over the faces that need to be inspected.
[0050] The detection method is as follows:
[0051] 1. Collision between the 8 vertices of the bounding box and the face of the scene
[0052] To test the 8 vertices of the bounding box, check if they run in the direction of motion and hit faces in the scene. In order to reduce the amount of calculation, those vertices whose dot product of the normal vector and the direction of motion are negative can be removed. The algorithm of this detection is the same as the m...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com