Skip to main content

Module rigid_api

Module rigid_api 

Source
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§

PyBatchForce
A vectorized (batch) force application request.
PyBodyFilter
Filter criteria for selecting bodies.
PyCollider
A collider attached to a rigid body.
PyContact
A contact between two bodies.
PyIslandStats
Statistics for a simulation island.
PyJoint
A joint connecting two bodies.
PyJointSet
A collection of joints.
PyPhysicsPipeline
A physics pipeline orchestrating broadphase, narrowphase, solver, and integration.
PyPipelineConfig
Configuration for the physics pipeline.
PyRayResult
Result of a ray-cast query.
PyRigidBody
A rigid body with full kinematic and dynamic state.
PyRigidBodySet
A collection of rigid bodies with O(1) lookup by handle.
PySleepManager
Manages sleep/wake events for a body set.
PyWakeEvent
Wake event emitted when a body transitions from sleeping to awake.
PyWorld
A self-contained physics world managing bodies, colliders, and joints.

Enums§

PyJointType
Supported joint types.
PyShapeType
Collider shape variants supported by the physics engine.
WakeReason
Reason a body woke up.

Functions§

compute_island_stats
Compute island statistics from a body set (simple connected-components mock).