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...)
After a certain time, my body goes asleep can't be awaken
-
- Posts: 15
- Joined: Wed Apr 20, 2011 12:42 pm
-
- Posts: 15
- Joined: Wed Apr 20, 2011 12:42 pm
Re: After a certain time, my body goes asleep can't be awake
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
->setActivationState(DISABLE_DEACTIVATION);
doesn't understand why applying a force doesn't automatically awaken the object
-
- Posts: 149
- Joined: Fri May 24, 2013 6:08 am
Re: After a certain time, my body goes asleep can't be awake
Collisions awaken it, or calling btCollisionObject::activate