API ReferenceSandbox
SliderJointBuilderclass
Builds a slider joint that moves along one axis.
Methods1
Showing 1 methods
public Sandbox.SliderJointBuilder WithLimit(float min, float max)
Sets and enables the translation limits.
| Parameter | Type | Description |
|---|---|---|
| min | float | The minimum translation along the joint axis. |
| max | float | The maximum translation along the joint axis. |
No results match this filter.
Properties2
Showing 2 properties
public bool Sandbox.SliderJointBuilder.EnableLimit { get; set; }
Whether the joint enforces a translation limit along its axis.
Returns:
bool—public Vector2 Sandbox.SliderJointBuilder.Limit { get; set; }
The minimum and maximum allowed translation along the joint axis.
No results match this filter.