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

NameTypeDescription
AxisEnum Variable
Current PositionNumber Variablem (local)
Limit By RangeBool Variable
Limit RangeRange Variablem (local)
Max DistanceNumber Variablem
Move Back To StartBool VariableWill move back to start when not grabbed
Move Back To Start SpeedNumber VariableDefaults to 1 - x
Part TransformTransform Part Variable
Not GrabbableBool Variable
Grabbed ByEntity Variable - ReadOnly

Methods

NameDescription
Get Max Distance PositionVector3
Stop Grabbing

Properties

NameTypeDescription
Distance RatioNumberReturns value of current distance to limit (-1 to 1 value)
World DistanceNumber