This project has moved and is read-only. For the latest updates, please go here.

unknow error?

May 14, 2009 at 9:49 PM
iv altered the RotationalDragCoefficient to 5000 and after iv added a few objects in to the game i got this error in the game. Function does not accept floating point Not-a-Number values. any idias
May 15, 2009 at 4:48 AM

That occurs when you set properties to extreme values that arent supported and the engine cant calculate it no more,

I believe the friction coefficients like that must be between 0 and 1

if you are trying to limit the rotation of objects set moment of inertia to float.positive infinity

if you wanna do it on everything set the rotational drag coeeficient to 1 and see.

May 15, 2009 at 3:07 PM

if anyone else comes across this thread, the ways to stop a body from rotating are described here: