Method for detecting collision between cylindrical collider and convex body in real-time virtual scenario, terminal, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorXini Kuang
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorXini Kuang
Estimating the term…
A method for detecting a collision between a cylindrical collider and a convex body in a real-time virtual scenario performed at a computer includes: converting a cylindrical collider into a preset polygonal prism concentric to the cylindrical collider; transforming the preset polygonal prism to a local coordinate system of the convex body; obtaining a projection of the cylindrical collider on one or more testing axes according to each testing axis and the location of the preset polygonal prism in the local coordinate system of the convex body, and obtaining a projection of the convex body on each testing axis; and in accordance with a determination that the projections of the cylindrical collider and the convex body intersect with each other on each testing axis, moving the cylindrical collider away from the convex body in the real-time virtual scenario to avoid the collision.
A method for detecting a collision between a cylindrical collider and a convex body in a real-time virtual scenario performed at a computer having one or more processors and memory storing one or more programs to be executed by the one or more processors, the method comprising:
A computer, comprising one or more processors, memory and one or more programs stored in the memory that, when being executed by the one or more processors, cause the computer to perform a plurality of operations including:
A non-transitory computer readable storage medium storing one or more computer readable instructions that, when being executed by one or more processors of a computer, cause the computer to perform a plurality of operations including:
Dependencies are inferred from the claim text.