s&box
RustCounter-Strike 2s&boxDeadlock
Wiki
Get s&box on Steam
Browse
OverviewGetting StartedCreating GamesEngine & ToolsDocumentationCommunity GamesResources
s&boxDocumentationPhysics
SOURCE 2 · C#
Build and play games with s&box.

Facepunch's game engine and creation platform — make games in C#, or jump straight into community games.

Get s&box on Steam

s&box Wiki

  • Overview
  • Getting Started
  • Creating Games
  • Engine & Tools
  • Documentation
  • Community Games
  • Resources

Tools & Community

  • Getting Started
  • Creating Games
  • Engine & Tools
  • Resources

Platforms

  • RustBattle
  • CSBattle
  • Rust Game Wiki
  • CS2 Skins Wiki
  • Deadlock Wiki

About

  • Official Site
  • Developer Wiki
  • GitHub
  • Get on Steam
NOT AFFILIATED WITH FACEPUNCH STUDIOS · © 2026 s&box Wiki (community)
Docs/Physics
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

  • Player Controller - Physics-based character controller component
  • Terrain Materials - Physics surface properties for terrain

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

More in Physics

IScenePhysicsEvents
Tracing
Triggers
← All documentation

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