btRigidBody_setMassProps

A function defined in GMBullet.yy

btRigidBody_setMassProps(rigidBody, mass, inertia)

Description

Sets the mass and inertia tensor properties for the rigid body.

Arguments

Name Type Description
rigidBody Pointer A pointer to the btRigidBody object.
mass Real The mass of the rigid body.
inertia Pointer A pointer to a btVector3 representing the inertia of the rigid body.

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