Module physics

Module physics 

Source
Expand description

§Physics Abstractions

Universal traits and types for physics simulation providers.

Re-exports§

pub use collision::*;
pub use dynamic_tree::*;
pub use solver::*;

Modules§

collision
Internal narrow-phase collision detection.
dynamic_tree
Dynamic AABB Tree
solver
Impulse Solver

Structs§

CharacterControllerOptions
Options for resolving kinematic character movement.
ColliderDesc
Description for creating a collider.
ColliderHandle
Opaque handle to a collider in the physics engine.
ContactManifold
Detailed information about a contact between two colliders.
DebugLine
A simple line for debug rendering.
Ray
A ray in 3D space.
RaycastHit
Information about a raycast hit.
RigidBodyDesc
Description for creating a rigid body.
RigidBodyHandle
Opaque handle to a rigid body in the physics engine.

Enums§

BodyType
Defines the type of a rigid body.
ColliderShape
Supported collider shapes.
CollisionEvent
Events representing collision start/end.

Traits§

PhysicsProvider
Interface contract for any physics engine implementation (e.g., Rapier).