Hi, I’m a newbie at BabylonJS, and I’m hesitant to call a ‘bug’ when it is likely my own ignorance. But I’ve worked at this for two days, have read everything I could find, and still can’t make it work.ing to
I’m trying to bounce oblong spheres with a physics engine. It works perfectly from every axis when the sphere has not been rotated. So the physics engine understands that spheres have (a,b,c) dimensions. (change the shape of the sphere and the top collision still works every time).
But add a little rotation and the collisions no longer take place at the right time. The physics engine understands the rotation and correctly transfers angular rotation from one body to another. But it is as if the physics engine rotates the mesh while the imposter sphere itself doesn’t rotate.
Here’s a demo: https://playground.babylonjs.com/#6QF3KP#3
The top pair have no rotation.
The middle pair collide exactly at the same time as the top pair.
The bottom pair is like the middle pair, but using impulse to set angular velocity.
Thanks in advance.