Skip to main content

Module physics

Module physics 

Source
Expand description

Gizmo Physics Module Re-exports This module provides backward-compatible exports for the split physics crates.

Modules§

broadphase
bvh
character
cloth
collision
components
error
fracture
gjk
joints
narrowphase
Narrowphase collision detection.
quickhull
ragdoll
raycast
rope
shape
soft_body
system
vehicle
world

Structs§

Aabb
Axis-Aligned Bounding Box (AABB) represented by min/max corners.
BoxShape
CapsuleShape
Collider
CollisionEvent
Emitted every physics step for each solid collision pair.
CollisionLayer
ContactManifold
Up to four contact points between a pair of bodies, along with the combined material properties needed by the constraint solver.
ContactPoint
A single contact point between two colliding bodies.
ConvexHullShape
FractureEvent
Emitted when a rigid body’s fracture threshold is exceeded.
Gjk
GlobalTransform
GpuPhysicsLink
NarrowPhase
PhysicsMaterial
PlaneShape
Ray
Ray for raycasting
Raycast
Raycast query system
RaycastHit
Result of a raycast hit
RigidBody
SpatialHash
Eski SpatialHash API’sini Dynamic BVH üzerine köprüler. FIX-4: clear artık &mut self alıyor.
SphereShape
Transform
TriMeshShape
TriggerEvent
Emitted for trigger (non-solid) collider overlaps.
Velocity

Enums§

ColliderShape
CollisionEventType
Whether a collision pair has just begun, is ongoing, or has ended.
GizmoError

Functions§

physics_explosion_system
System that checks for Explosion components and applies outward forces to all rigid bodies and soft body nodes within the radius.
physics_fracture_system
System that processes collision events and breaks objects that exceed their threshold.
physics_step_system
Exclusive system that updates the entire physics simulation. It reads all rigid and soft bodies from the ECS, steps the physics world, and writes the transformed positions and velocities back to the ECS.
physics_vehicle_system