Hiya,
I realize that this is a question best asked on the Bullet forums, but here goes anyway...
What is the correct way to deactivate an RB that is active? Ie. "put to sleep". There is an activate() method but no deactivate(). There is something called forceActivationState(), so I guess I could just pass ISLAND_SLEEPING to that, but it seems awfully hacky. Is there a cleaner way? Also, since it refers to islands, will it affect other nearby objects if I do it that way?
Some other engines have methods for putting objects to sleep regardless of their current state.