btRigidBody_setMassPropsXYZ

A function defined in GMBullet.yy

btRigidBody_setMassPropsXYZ(rigidBody, mass, inertiaX, inertiaY, inertiaZ)

Description

Sets the mass and inertia tensor properties for the rigid body using individual components for inertia.

Arguments

Name Type Description
rigidBody Pointer A pointer to the btRigidBody object.
mass Real The mass of the rigid body.
inertiaX Real The x-component of the inertia tensor.
inertiaY Real The y-component of the inertia tensor.
inertiaZ Real The z-component of the inertia tensor.

Copyright © 2024, BlueBurn. Built on October 13, 2024 using GMDoc.