BallJointclass

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

objectJointBallJoint
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.BallJoint : Sandbox.Joint

Constructors1

Showing 1 constructors

Properties11

Showing 11 properties

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

Damping of motor.

Returns:float

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

Frequency of motor.

Returns:float

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

Joint friction.

Returns:float

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

Maximum torque the motor can apply when in velocity mode.

Returns:float

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

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

Returns:Vector2

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

Enables or disables the swing limit.

Returns:bool

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

Target angular velocity of the motor.

Returns:Vector3

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

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

Returns:Vector2

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

Enables or disables the twist limit.

Returns:bool

On this page