API ReferenceSandbox.Physics
HingeJointclass
A hinge-like constraint.
Methods2
Showing 2 methods
public void SetAngularMotor(float targetVelocity, float maxTorque)
Set the angular motor (target velocity in radians/sec, max torque).
| Parameter | Type | Description |
|---|---|---|
| targetVelocity | float | — |
| maxTorque | float | — |
Returns:
void—No results match this filter.
Properties6
Showing 6 properties
public float Sandbox.Physics.HingeJoint.Angle { get; set; }
Returns:
float—public float Sandbox.Physics.HingeJoint.Friction { get; set; }
Hinge friction.
Returns:
float—public float Sandbox.Physics.HingeJoint.MaxAngle { get; set; }
Maximum angle it should be allowed to go
Returns:
float—public float Sandbox.Physics.HingeJoint.MinAngle { get; set; }
Minimum angle it should be allowed to go
Returns:
float—public float Sandbox.Physics.HingeJoint.Speed { get; set; }
Returns:
float—No results match this filter.