HingeJointclass

Create a hinged connection between two physics objects. Like a door hinge or a wheel.

objectJointHingeJoint
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.HingeJoint : Sandbox.Joint

Constructors1

Showing 1 constructors

public HingeJoint()PUBLICCONSTRUCTOR

Properties14

Showing 14 properties

public float Sandbox.HingeJoint.Angle { get; set; }PUBLICGETSET

Returns:float

public virtual int Sandbox.HingeJoint.ComponentVersion { get; set; }PUBLICVIRTUALGETSET

Returns:int

public float Sandbox.HingeJoint.DampingRatio { get; set; }PUBLICGETSET

Damping of motor

Returns:float

public float Sandbox.HingeJoint.Fequency { get; set; }PUBLICGETSETOBSOLETE

Obsolete: Use Frequency

Returns:float

public float Sandbox.HingeJoint.Frequency { get; set; }PUBLICGETSET

Frequency of motor

Returns:float

public float Sandbox.HingeJoint.Friction { get; set; }PUBLICGETSET

Hinge friction

Returns:float

public float Sandbox.HingeJoint.MaxAngle { get; set; }PUBLICGETSET

Maximum angle it should be allowed to go

Returns:float

public float Sandbox.HingeJoint.MaxTorque { get; set; }PUBLICGETSET

Max torque of motor

Returns:float

public float Sandbox.HingeJoint.MinAngle { get; set; }PUBLICGETSET

Minimum angle it should be allowed to go

Returns:float

public Sandbox.HingeJoint.MotorMode Sandbox.HingeJoint.Motor { get; set; }PUBLICGETSET

Motor mode

Returns:MotorMode

public float Sandbox.HingeJoint.Speed { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.HingeJoint.TargetAngle { get; set; }PUBLICGETSET

Target angle of motor

Returns:float

public float Sandbox.HingeJoint.TargetVelocity { get; set; }PUBLICGETSET

Target velocity of motor

Returns:float

On this page