API ReferenceSandbox
BallJointBuilderclass
Provides ability to generate a ball joint for a `Sandbox.Model` at runtime.
Methods2
Showing 2 methods
public Sandbox.BallJointBuilder WithSwingLimit(float v)
| Parameter | Type | Description |
|---|---|---|
| v | float | — |
public Sandbox.BallJointBuilder WithTwistLimit(float min, float max)
| Parameter | Type | Description |
|---|---|---|
| min | float | — |
| max | float | — |
No results match this filter.
Properties4
Showing 4 properties
public bool Sandbox.BallJointBuilder.EnableSwingLimit { get; set; }
Whether the joint enforces a swing angle limit.
Returns:
bool—public bool Sandbox.BallJointBuilder.EnableTwistLimit { get; set; }
Whether the joint enforces a twist angle limit.
Returns:
bool—public float Sandbox.BallJointBuilder.SwingLimit { get; set; }
Maximum allowed swing angle in degrees.
Returns:
float—public Vector2 Sandbox.BallJointBuilder.TwistLimit { get; set; }
Minimum and maximum allowed twist angles in degrees.
No results match this filter.