I’m trying to make a game in bullet… it has a ball which rolls around inside a bigger ball. The ball inside is the dynamic object. It rolls around and works perfectly at first, but after a while comes to a complete stop and nothing can convince it to move again. It won’t even fall… I tried deleting the big ball after the small ball had stopped, and the little ball just hung in the air.
Why is this? Bullet problems?
The ball is deactivated after a while, this is a common optimization in physics engines. Some activation code needs to be added to the motion actuator, so it will move again.
Until it is fixed (next release) you can disable physics de-activation with a python script for now:
This should mean that it never gets deacitvated. I’m gonna try it in one of my bigger projects (and probably post again to find help if it doesn’t work with that high complexity ). Hope it works for your project!
I thought about changing the f, but not being a python expert, I decided to let it alone. (Even though it was a problem.) I guess I just didn’t know what to replace it with. I will try your suggestion.
Thanks for the welcome, I’m really exited about all the attention the game engine has been getting lately! I can’t wait to see more cool projects from you guys, and finnish my own.