Inheritence

Summary

A physics constraint.

Properties

AngularStrength Strength of the angular constraint. If it takes any more energy than this, it'll break.
Body1 The source physics body this joint is attached to.
Body2 The target physics body this joint is constraining.
Collisions Enables or disables collisions between the 2 constrained physics bodies.
IsActiveobsolete
Point1 A specific point this joint is attached at on Sandbox.Physics.PhysicsJoint.Body1
Point2 A specific point this joint is attached at on Sandbox.Physics.PhysicsJoint.Body2
Strength Strength of the linear constraint. If it takes any more energy than this, it'll break.
World The Sandbox.PhysicsWorld this joint belongs to.

Methods

Remove Removes this joint.

Static Methods

CreateBallSocket Creates a ball socket constraint.
CreateFixed Creates an almost solid constraint between two physics bodies.
CreateHinge
CreateLength Creates a constraint like a rope, where it has no minimum length but its max length is restrained.
CreatePulleyobsolete
CreateSlider Creates a slider constraint between two physics bodies via Sandbox.Physics.PhysicsPoints.
CreateSpring Creates a constraint that will try to stay the same length, like a spring, or a rod.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.