API ReferenceSandbox
BallJointclass
Fix two objects together but can rotate - like a shoulder.
Constructors1
Showing 1 constructors
public BallJoint()
No results match this filter.
Properties11
Showing 11 properties
public float Sandbox.BallJoint.DampingRatio { get; set; }
Damping of motor.
Returns:
float—public float Sandbox.BallJoint.Frequency { get; set; }
Frequency of motor.
Returns:
float—public float Sandbox.BallJoint.Friction { get; set; }
Joint friction.
Returns:
float—public float Sandbox.BallJoint.MaxTorque { get; set; }
Maximum torque the motor can apply when in velocity mode.
Returns:
float—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.
Returns:
bool—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.
Returns:
bool—No results match this filter.