CollisionDetectionMode.Continuous 连续

CollisionDetectionMode.Continuous

Description描述

Continuous collision detection is on for colliding with static mesh geometry.

连续碰撞检测是基于网格几何体的静态碰撞。

Collisions will be detected for any static mesh geometry in the path of this Rigidbody, even if the collision occurs between two FixedUpdate steps. Static mesh geometry is any MeshCollider which does not have a Rigidbody attached. This also prevent Rigidbodies set to ContinuousDynamic mode from passing through this Rigidbody.

在这个刚体的路径任意静态网格几何体的碰撞将被检测,即使在两个FixedUpdate步发生碰撞。静态网格几何体是任意没有附加刚体的MeshCollider。这也防止刚体从这个刚体穿越设置为ContinuousDynamic模式。

最后修改:2011年5月6日 Friday 14:29

本脚本参考基于Unity 3.4.1f5

英文部分版权属©Unity公司所有,中文部分© Unity圣典 版权所有,未经许可,严禁转载 。