Expand description
Python rigid body bindings.
Provides Python-friendly wrappers for rigid body simulation: bodies, colliders, joints, a physics world, and batch force APIs. All types use plain arrays and primitive types (no nalgebra).
Structs§
- PyBatch
Force - A vectorized (batch) force application request.
- PyBody
Filter - Filter criteria for selecting bodies.
- PyCollider
- A collider attached to a rigid body.
- PyContact
- A contact between two bodies.
- PyIsland
Stats - Statistics for a simulation island.
- PyJoint
- A joint connecting two bodies.
- PyJoint
Set - A collection of joints.
- PyPhysics
Pipeline - A physics pipeline orchestrating broadphase, narrowphase, solver, and integration.
- PyPipeline
Config - Configuration for the physics pipeline.
- PyRay
Result - Result of a ray-cast query.
- PyRigid
Body - A rigid body with full kinematic and dynamic state.
- PyRigid
Body Set - A collection of rigid bodies with O(1) lookup by handle.
- PySleep
Manager - Manages sleep/wake events for a body set.
- PyWake
Event - Wake event emitted when a body transitions from sleeping to awake.
- PyWorld
- A self-contained physics world managing bodies, colliders, and joints.
Enums§
- PyJoint
Type - Supported joint types.
- PyShape
Type - Collider shape variants supported by the physics engine.
- Wake
Reason - Reason a body woke up.
Functions§
- compute_
island_ stats - Compute island statistics from a body set (simple connected-components mock).