Miarmy Crowd Simulation Documentation (English)

Continuous Collision Detection (CCD)

 

120 CCD Technology (Go to Video Tutorials)

 

Introduction

Continuous collision detection (CCD) can be used for preventing penetration of RBD emitter,

With CCD enabled, the RBD emitter emitted objects can predict the obstacle in front of them and automatically prevent go through the obstacle

 

CCD Result

Please refer the below 2 images:

    1. without CCD, the RBD emitter emitted objects will penetrate into the wall

CCD disable, arrows go through into the wall

 

    2. with CCD enable, the arrow will automatically hold when it contact with the wall, even if the arrow speed very fast!!

CCD enabled, arrows hold on surface of wall

 

 

This feature also available between RBD emitter and agents. If the arrow shooting on the shield of agent, prevent penetrate will be more realistic.

Arrows penetrate the shield too much

 

CCD enabled, arrows not penetrate the shield

 

CCD in production, shield prevent penetration

 

How to use

For enable CCD, please just increase the attribute "ccdIter" attribute of RBD Emitter

 

This number is indicate how many times the RBD arrow will predict in front obstacle, the bigger the number is, the more accurate the CCD will be.

 

 

 

 

 

 

Basefount Technology