btDiscreteDynamicsWorld_create

A function defined in GMBullet.yy

btDiscreteDynamicsWorld_create(dispatcher, pairCache, constraintSolver, collisionConfiguration)

Description

Creates a btDiscreteDynamicsWorld instance for simulating discrete dynamic rigid body physics.

Arguments

Name Type Description
dispatcher Pointer A pointer to the btDispatcher instance that handles collision detection and resolution.
pairCache Pointer A pointer to the btBroadphaseInterface instance that manages overlapping pairs efficiently.
constraintSolver Pointer A pointer to the btConstraintSolver instance that solves constraints and forces between rigid bodies.
collisionConfiguration Pointer A pointer to the btCollisionConfiguration instance that provides collision-related configuration settings.

Returns

Pointer A pointer to the created btDiscreteDynamicsWorld instance for simulating physics.


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