Rigid body deactivation time threshold

ProfessionalUser
Posts: 14
Joined: Fri Oct 14, 2011 12:10 am

Rigid body deactivation time threshold

Post by ProfessionalUser »

Is there any way to configure the deactivation time threshold for rigid bodies? Looks like this his hard-coded to 2.0f?
xexuxjy
Posts: 225
Joined: Wed Jan 07, 2009 11:43 am
Location: London

Re: Rigid body deactivation time threshold

Post by xexuxjy »

If you look at the use of gDisableDeactivation in DemoApplication.cpp as an example you can see how to override that value, a similar approach can be taken for gDeactivationTime