Physics
S&box includes a full 3D and 2D physics system powered by the Source 2 engine, with great performance and stability. Rigidbodies, colliders, joints, raycasting, and trigger volumes are all usable through Components on GameObjects.
In This Section
- 🎯 Tracing — Raycasting and shape traces (ray, sphere, box) with collision rules and tag filtering
- 🚪 Triggers — Detect when objects enter or exit a volume, without blocking movement
- 🚪 Physics Events — Hook into the physics step with
PrePhysicsStep and PostPhysicsStep
Related