s&box docs

public sealed class Sandbox.HingeJointBuilder : Sandbox.PhysicsJointBuilder

Provides ability to generate a hinge joint for a `Sandbox.Model` at runtime.

Methods

Showing 3 methods

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 Vector2 Sandbox.HingeJointBuilder.TwistLimit { get; set; }

The minimum and maximum allowed twist angles (degrees).

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.HingeJointBuilder

On this page