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

Post Reply
jokooon
Posts: 15
Joined: Wed Apr 20, 2011 12:42 pm

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

Post 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...)
jokooon
Posts: 15
Joined: Wed Apr 20, 2011 12:42 pm

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

Post 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
c6burns
Posts: 149
Joined: Fri May 24, 2013 6:08 am

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

Post by c6burns »

Collisions awaken it, or calling btCollisionObject::activate
Post Reply