Physics

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

Source: Facepunch/sbox-docs (CC-BY-4.0) · updated 2026-04-11. Read it rendered on the official docs.

More in Physics

Community wiki — not affiliated with Facepunch Studios. For the latest and most authoritative information, see the official developer wiki.