s&box docs

public sealed class Sandbox.BallJoint : Sandbox.Joint

Fix two objects together but can rotate - like a shoulder.

Constructors

Showing 1 constructors

Properties

Showing 11 properties

public float Sandbox.BallJoint.DampingRatio { get; set; }

Damping of motor.

public float Sandbox.BallJoint.Frequency { get; set; }

Frequency of motor.

public float Sandbox.BallJoint.Friction { get; set; }

Joint friction.

public float Sandbox.BallJoint.MaxTorque { get; set; }

Maximum torque the motor can apply when in velocity mode.

public Vector2 Sandbox.BallJoint.SwingLimit { get; set; }

The minimum and maximum swing angles allowed by the joint in degrees.

public bool Sandbox.BallJoint.SwingLimitEnabled { get; set; }

Enables or disables the swing limit.

public Vector3 Sandbox.BallJoint.TargetVelocity { get; set; }

Target angular velocity of the motor.

public Vector2 Sandbox.BallJoint.TwistLimit { get; set; }

The minimum and maximum twist angles allowed by the joint in degrees.

public bool Sandbox.BallJoint.TwistLimitEnabled { get; set; }

Enables or disables the twist limit.

Metadata

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

On this page