pX_setccd ( var active
);
This
function actives Continuous Collision Detection. It tests an extruded
volume which represents the object's motion during the whole time
step. Set it, after you loaded the PhysX engine.
Parameters:
active |
1 = active , 0 = inactive (default: 0) |
Returns:
Nonzero if successful, 0
otherwise.
Remarks:
Speed:
Medium
Example:
physX_load();
//…
pX_setccd ( 1 );
pXent_setccdskeleton( box, vector(0.2, 0.2, 0.2), 0 );
See also:
pXent_setccdskeleton, physX_load