enabling CCD

jchmack

14-08-2007 13:17:27

I remember something in here about CCD for a body. How do i enable CCD for a body?

edit: found this in the body flags:

/**
\brief Enable dynamic-dynamic CCD for this shape. Used only when CCD is globally enabled and shape have a CCD skeleton.
*/
NX_SF_DYNAMIC_DYNAMIC_CCD = (1<<13),

but not exactly sure of how to use it.... don't even know what a ccd skeleton is.

betajaen

14-08-2007 16:49:21

A CCD Skeleton is a rough copy of the actors shape, but bigger and it extends outwards in the direction it is heading.

Sadly there isn't an official support for it in NxOgre at the moment, but there will be, it's on my TODO now list.