s&box docs

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.

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

Referenced API

Canonical API pages mentioned in this guide.

Created at:
Updated at:

On this page