Version: Unity 7.0 Alpha (7000.0)
Language : English
Discrete collision detection
Sweep-based CCD

Continuous collision detection (CCD)

Continuous collision detection (CCD) modes use predictive algorithms to calculate collisions that happen between physics timesteps. They are more accurate, but usually require more computational resources than discrete collision detection.

CCD is supported for Box, Sphere and Capsule colliders. It is intended as a safety net to catch collisions in cases where colliders would otherwise pass through each other. However, it does not always deliver physically accurate collision results, so you might still consider decreasing the physics timestep frequency to make the simulation more precise.

In Unity, there are two CCD algorithms, represented by three Collision Detection mode options.

Topic Description
Speculative CCD Learn about speculative collision detection. Continuous Speculative uses speculative collision detection.
Sweep-based CCD Learn about sweep-based collision detection. Both Continuous and Continuous Dynamic modes use sweep-based collision detection.
Discrete collision detection
Sweep-based CCD
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961