btDiscreteDynamicsWorld_setGravityXYZ

A function defined in GMBullet.yy

btDiscreteDynamicsWorld_setGravityXYZ(discreteDynamicsWorld, gravityX, gravityY, gravityZ)

Description

Sets the gravity for the btDiscreteDynamicsWorld instance using individual components along the x, y, and z axes.

Arguments

Name Type Description
discreteDynamicsWorld Pointer A pointer to the btDiscreteDynamicsWorld instance.
gravityX Real The x-component of the gravity to be set.
gravityY Real The y-component of the gravity to be set.
gravityZ Real The z-component of the gravity to be set.

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