class
BallJoint
public sealed class BallJoint : Joint Fix two objects together but can rotate - like a shoulder.
Constructors
BallJoint() Properties
| Name | Type | Description |
|---|---|---|
Motor | MotorMode | Motor mode |
SwingLimitEnabled | Boolean | Enables or disables the swing limit. |
SwingLimit | Vector2 | The minimum and maximum swing angles allowed by the joint in degrees. |
TwistLimitEnabled | Boolean | Enables or disables the twist limit. |
TwistLimit | Vector2 | The minimum and maximum twist angles allowed by the joint in degrees. |
Friction | Single | Joint friction. |
TargetRotation | Rotation | Target angle of motor. |
Frequency | Single | Frequency of motor. |
DampingRatio | Single | Damping of motor. |
TargetVelocity | Vector3 | Target angular velocity of the motor. |
MaxTorque | Single | Maximum torque the motor can apply when in velocity mode. |