Page 1 of 1

After a certain time, my body goes asleep can't be awaken

Posted: Sat Jul 12, 2014 5:15 pm
by jokooon
It's active state goes to 2 (ISLAND_SLEEPING).

I apply a force to it, but it doesn't move and doesn't awaken...

("awake", "awaken" I don't know the grammar...)

Re: After a certain time, my body goes asleep can't be awake

Posted: Sat Jul 12, 2014 5:41 pm
by jokooon
seems I need to set this object to not deactivate

->setActivationState(DISABLE_DEACTIVATION);

doesn't understand why applying a force doesn't automatically awaken the object

Re: After a certain time, my body goes asleep can't be awake

Posted: Sat Jul 12, 2014 6:27 pm
by c6burns
Collisions awaken it, or calling btCollisionObject::activate