Havok Animation bug

bug demo url

i want box Animation rotation
sphere Affected by rotation

cc @Cedric, I don’t know how to achieve this effect.

You should use:

  moveMeshBox.physicsBody.setPrestepType(BABYLON.PhysicsPrestepType.ACTION)

This will cause the animated physics body to generate velocity, rather than “teleporting.”

see line 84


3 Likes

Thank you

1 Like