How to rotate a mesh with collisionsEnabled property?

I see mesh.moveWithCollisions() method but I don’t see something like: mesh.rotateWithCollisions() method. How to properly rotate a mesh with collisionsEnabled property?
Or maybe doing something like mesh.scaleWithCollisions() to change collision size with its mesh?

This is not supported by default at the moment, let me add @Cedric and @RaananW in case there is an easy trick I am not aware about.

Ellipsoid are axis aligned and it’s not possible to rotate them
So, you can hook an collision to a transform, then have a child transform that you can rotate as you want.

1 Like