The btPhysicsCreateUtil class is responsible for creating and managing various physics objects and capabilities within the Bullet physics engine.

btPhysicsCreateUtil 类负责在 Bullet 物理引擎中创建和管理各种物理对象和功能。

实现

构造函数

方法

  • 返回 Promise<void>

    A promise that resolves when initialization is complete.

    Initializes the Bullet physics engine. This includes setting up the physics memory, creating an instance of the Bullet physics engine, and initializing various physics components.

    初始化 Bullet 物理引擎。这包括设置物理内存、创建 Bullet 物理引擎实例以及初始化各种物理组件。