S&box Wiki


Detecting Collisions

To detect when 2 colliders touch, both objects must have some kind of collider component attached. Then create a component on the same GameObject as one of these colliders and inherit from Component, Component.ICollisionListener

No code example for now, still waiting on a fix for ragdolls to work properly with this :/