EntPullablePartOneAxis
Pullable Part One Axis
Allows part of an entity to be moved on one axis.
ID: EntPullablePartOneAxis
Required By: Pullable Part Toggle, Gun Load With Pullable Part
Base Type: Pullable Part
Values
Name | Type | Description |
---|---|---|
Axis | Enum Variable | |
Current Position | Number Variable | m (local) |
Limit By Range | Bool Variable | |
Limit Range | Range Variable | m (local) |
Max Distance | Number Variable | m |
Move Back To Start | Bool Variable | Will move back to start when not grabbed |
Move Back To Start Speed | Number Variable | Defaults to 1 - x |
Part Transform | Transform Part Variable | |
Not Grabbable | Bool Variable | |
Grabbed By | Entity Variable | - ReadOnly |
Methods
Name | Description |
---|---|
Get Max Distance Position | Vector3 |
Stop Grabbing |
Properties
Name | Type | Description |
---|---|---|
Distance Ratio | Number | Returns value of current distance to limit (-1 to 1 value) |
World Distance | Number |
Updated almost 2 years ago