I noticed an interesting point. Why if you start the rotation asynchronously, then it does not work?
https://playground.babylonjs.com/#5W5B6W#69
setTimeout(() => joint1.setMotor(3 * forceFactor, 20 * forceFactor), 5000)
I noticed an interesting point. Why if you start the rotation asynchronously, then it does not work?
https://playground.babylonjs.com/#5W5B6W#69
setTimeout(() => joint1.setMotor(3 * forceFactor, 20 * forceFactor), 5000)
An old demo of mine, converted to ammo
that’s fun!
The issue is that the impostors are asleep (to keep the engine efficient, it puts objects that did “nothing” for a while to a frozen sleep). You can “wake’em up” by calling wakeUp: