Gravity enable/disable with CheckBox?
Posted: Wed Dec 13, 2006 2:30 pm
Hello everybody!
I Have a question!
I want to enable/disable the gravity in my program.
I make the gravity with this:
MfG PsycoDad
I Have a question!
I want to enable/disable the gravity in my program.
I make the gravity with this:
How can i change the value of the vector3df(0,-1,0), with a CheckBox?ISceneNodeAnimator* anim = smgr->createCollisionResponseAnimator(MetaSelector, cameraFPS, vector3df(10,25,10), vector3df(0,-1,0), vector3df(5,5,5));
cameraFPS->addAnimator(anim);
anim->drop();
Thx to all who will help me.guienv->addCheckBox(false,rect<s32>(90,10,105,25),tab2,-1);
MfG PsycoDad