Invention Grant
- Patent Title: Method for detecting collision between cylindrical collider and convex body in real-time virtual scenario, terminal, and storage medium
-
Application No.: US15785186Application Date: 2017-10-16
-
Publication No.: US10311544B2Publication Date: 2019-06-04
- Inventor: Xini Kuang
- Applicant: Tencent Technology (Shenzhen) Company Limited
- Applicant Address: CN Shenzhen, Guangdong Province
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen, Guangdong Province
- Agency: Morgan, Lewis & Bockius LLP
- Priority: CN201510864339 20151130
- Main IPC: G06T3/20
- IPC: G06T3/20 ; G06T7/60 ; G06T7/13 ; G06T7/70 ; G06K9/00 ; G06T7/246 ; G06F17/50 ; G06T13/20 ; B25J9/16 ; G06T13/80

Abstract:
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.
Public/Granted literature
Information query