setAngularFactor for Havok

Is there a havok version to freeze the rotation?

I was used to freeze the rotation like this


but seems like it didn’t work anymore with Havok :confused:

Amazing question for @Cedric or @Evgeni_Popov

1 Like

I think you can set inertia of mass properties to 0 for every rotation axis. So angularVelocity is multiplied by 0.

    inertia: new BABYLON.Vector3(0, 0, 0)

Example PG:


It worked! Thank you

Yo @Takemura … What about SetLinearFactor… How do we handle that one ?