Version: 2023.2
言語: 日本語
Discrete collision detection
Sweep-based CCD

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.

トピック 説明 
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