callback when body falls in sleep
Posted: Sun Mar 04, 2012 12:03 pm
Hi!
I'm quite new to bullet and haven't really learned the design yet. I'm trying to find out when a body have stopped moving. From what I understand, this is called that the body has fallen into sleep. Is there some way to get a callback when a specific body has fallen in sleep? The reason is that I want to be able to drop a body and then get the final position of the body.
BR
pwr
I'm quite new to bullet and haven't really learned the design yet. I'm trying to find out when a body have stopped moving. From what I understand, this is called that the body has fallen into sleep. Is there some way to get a callback when a specific body has fallen in sleep? The reason is that I want to be able to drop a body and then get the final position of the body.
BR
pwr