Function setPhysicsBodyMassProperties
-
setPhysicsBodyMassProperties(
world: PhysicsWorld,
body: PhysicsBody,
properties: PhysicsMassProperties,
): voidParameters
- world: PhysicsWorld
The physics world.
- body: PhysicsBody
The body to update.
- properties: PhysicsMassProperties
Mass-property overrides.
Returns void
- world: PhysicsWorld
Sets a body's mass properties, preserving Havok's shape-derived values for omitted fields and reapplying active rotation-axis locks.