how to fix this behavior?
After add Havok, the mesh.position keep gravitation in the center. I would like to move freely
Without Havok, it works as it should:
how to fix this behavior?
After add Havok, the mesh.position keep gravitation in the center. I would like to move freely
Without Havok, it works as it should:
Thank you very much! It turned out really good!
I don’t understand why moveWithCollisions
behaves differently with physics.
Normally it adds the new Vector3
to the current position, but it seems that with Havok this addition is not enough to move the Mesh. Using mesh.physicsBody.setLinearVelocity(velocity)
instead.