Skip to main content

Crate he3d_physics

Crate he3d_physics 

Source
Expand description

HE3D physics. HE3D 物理模块。

A thin PhysicsWorld adapter over the standalone gp3d engine, mapping render objects by stable he3d_core::ObjectId onto gp3d’s generational body handles. 一个建立在独立 gp3d 引擎之上的薄 PhysicsWorld 适配层,通过稳定的 he3d_core::ObjectId 将渲染对象映射到 gp3d 的代际刚体句柄上。 Bodies are owned by gp3d; after each PhysicsWorld::step the caller synchronizes transforms back into the he3d_core::Scene. 刚体由 gp3d 持有;每次 PhysicsWorld::step 之后,调用方将变换同步回 he3d_core::Scene。

Structs§

PhysicsWorld
A physics world mapping render objects by stable ObjectId onto the standalone gp3d engine’s generational body handles. 一个通过稳定的 ObjectId 将渲染对象映射到独立 gp3d 引擎代际刚体句柄上的物理世界。

Enums§

StepResult
Outcome of a PhysicsScene::step call. PhysicsScene::step 调用的结果。