https://playground.babylonjs.com/#QCKUMP

https://playground.babylonjs.com/#QCKUMP
I have a problem with physics. As soon as I write the physics.impostor, my animation doesn’t work. The problem is that the sphere does not change the height y as desired. Can someone help me and give me food for thought.

I think once you added physics imposter, you should give the full control of position and rotation changes to the physics engine. I.e. You don’t write your own animation function. Instead, you should apply a force to push the sphere upwards, and let the physics engine to apply sphere position change.

I updated your PG:

https://playground.babylonjs.com/#QCKUMP#3

3 Likes

Hello slin,
Many Thanks. I hadn’t considered this possibility. This opens up completely new opportunities for me. Thanks for the food for thought …