API ReferenceSandbox
public sealed class Sandbox.HingeJointBuilder : Sandbox.PhysicsJointBuilder
Provides ability to generate a hinge joint for a `Sandbox.Model` at runtime.
Methods
Showing 3 methods
public Sandbox.HingeJointBuilder WithMaxTorque(float v)
public Sandbox.HingeJointBuilder WithTargetVelocity(Vector3 v)
public Sandbox.HingeJointBuilder WithTwistLimit(float min, float max)
No results match this filter.
Properties
Showing 5 properties
public bool Sandbox.HingeJointBuilder.EnableMotor { get; set; }
Whether the hinge's angular motor is enabled.
public bool Sandbox.HingeJointBuilder.EnableTwistLimit { get; set; }
Whether the hinge enforces a twist angle limit.
public float Sandbox.HingeJointBuilder.MaxTorque { get; set; }
Maximum torque the motor may apply.
public Vector3 Sandbox.HingeJointBuilder.TargetVelocity { get; set; }
Target angular velocity for the motor.
public Vector2 Sandbox.HingeJointBuilder.TwistLimit { get; set; }
The minimum and maximum allowed twist angles (degrees).
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.HingeJointBuilder |