Function lockPhysicsBodyRotationAxes
-
lockPhysicsBodyRotationAxes(
world: PhysicsWorld,
body: PhysicsBody,
axes: readonly PhysicsRotationAxis[],
): voidParameters
- world: PhysicsWorld
- body: PhysicsBody
- axes: readonly PhysicsRotationAxis[]
Returns void
Lock angular motion around selected body-local axes. Havok represents a locked angular degree of freedom with zero inertia. Locks are cumulative and remain active when the body's mass properties are rebuilt.