首页>
外国专利>
METHOD FOR DETECTING COLLISION BETWEEN CYLINDRICAL COLLIDER AND CONVEX BODY IN REAL-TIME VIRTUAL SCENARIO, TERMINAL, AND STORAGE MEDIUM
METHOD FOR DETECTING COLLISION BETWEEN CYLINDRICAL COLLIDER AND CONVEX BODY IN REAL-TIME VIRTUAL SCENARIO, TERMINAL, AND STORAGE MEDIUM
展开▼
机译:实时虚拟场景,终端和存储介质中圆柱状集线器和凸形体之间的碰撞检测方法
展开▼
页面导航
摘要
著录项
相似文献
摘要
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.
展开▼