Crate spacetime_physics

Source

Modules§

colliders
math
physics_world
raycast
rigid_body
rigid_body_properties
trigger

Structs§

Collider
CollisionPoint
PhysicsWorld
PhysicsWorldBuilder
Use builder syntax to set the inputs and finish with build().
RayCast
RayCastBuilder
Use builder syntax to set the inputs and finish with build().
RayCastHit
RigidBody
RigidBodyBuilder
Use builder syntax to set the inputs and finish with build().
RigidBodyData
Represents a rigid body in the physics engine, containing its properties and state. This struct is used as an abstraction layer to the RigidBody storage in the database, it’s also used to store properties exclusive to the physics engine algorithms, that does not need to be stored in the database.
RigidBodyProperties
RigidBodyPropertiesBuilder
Use builder syntax to set the inputs and finish with build().
Trigger
TriggerBuilder
Use builder syntax to set the inputs and finish with build().
physics_colliders__TableHandle
physics_raycasts__TableHandle
physics_rigid_bodies__TableHandle
physics_rigid_body_properties__TableHandle
physics_triggers__TableHandle
physics_world__TableHandle

Enums§

ColliderType
RigidBodyType
ShapeWrapper
Acts as a wrapper around spacetime_physics colliders and Parry’s shapes,

Traits§

physics_colliders
physics_raycasts
physics_rigid_bodies
physics_rigid_body_properties
physics_triggers
physics_world

Functions§

raycast_all
schedule_physics_tick
step_world
test_collision

Type Aliases§

ColliderId
KinematicBody
PhysicsWorldId
RaycastId
RigidBodyId
TriggerId