API ReferenceSandbox
HingeJointclass
Create a hinged connection between two physics objects. Like a door hinge or a wheel.
Constructors1
Showing 1 constructors
public HingeJoint()
No results match this filter.
Properties14
Showing 14 properties
public float Sandbox.HingeJoint.Angle { get; set; }
Returns:
float—public virtual int Sandbox.HingeJoint.ComponentVersion { get; set; }
Returns:
int—public float Sandbox.HingeJoint.DampingRatio { get; set; }
Damping of motor
Returns:
float—public float Sandbox.HingeJoint.Fequency { get; set; }
Obsolete: Use Frequency
Returns:
float—public float Sandbox.HingeJoint.Frequency { get; set; }
Frequency of motor
Returns:
float—public float Sandbox.HingeJoint.Friction { get; set; }
Hinge friction
Returns:
float—public float Sandbox.HingeJoint.MaxAngle { get; set; }
Maximum angle it should be allowed to go
Returns:
float—public float Sandbox.HingeJoint.MaxTorque { get; set; }
Max torque of motor
Returns:
float—public float Sandbox.HingeJoint.MinAngle { get; set; }
Minimum angle it should be allowed to go
Returns:
float—public Sandbox.HingeJoint.MotorMode Sandbox.HingeJoint.Motor { get; set; }
Motor mode
public float Sandbox.HingeJoint.Speed { get; set; }
Returns:
float—public float Sandbox.HingeJoint.TargetAngle { get; set; }
Target angle of motor
Returns:
float—public float Sandbox.HingeJoint.TargetVelocity { get; set; }
Target velocity of motor
Returns:
float—No results match this filter.