API Sandbox Physics
namespace

Sandbox.Physics

12 types

Classes

Type Name Description
class BallSocketJoint A ballsocket constraint.
class CollisionRules This is a JSON serializable description of the physics's collision rules. This allows us to send it to the engine - and
class ControlJoint The control joint is designed to control the movement of a body while remaining responsive to collisions. A spring can
class FixedJoint A generic "rope" type constraint.
class HingeJoint A hinge-like constraint.
class PhysicsJoint A physics constraint.
class PhysicsSettings
class PulleyJoint A pulley constraint. Consists of 2 ropes which share same length, and the ratio changes via physics interactions.
class SliderJoint A slider constraint, basically allows movement only on the arbitrary axis between the 2 constrained objects on creation.
class SpringJoint A rope-like constraint that is has springy/bouncy.

Structs

Type Name Description
struct PhysicsPoint Used to describe a point on a physics body. This is used for things like joints where you want to pass in just a body, o
struct PhysicsSpring Spring related settings for joints such as FixedJoint.