VR Expansion Plugin > Grip Motion Controller Component > GetGripDistance

GetGripDistance

Get the grip distance of either the physics handle if there is one, or the difference from the hand to the root component if there isn't

Inputs

In
Exec

Target
Grip Motion Controller Component Object Reference

Grip
BPActor Grip Information Structure (by ref)

Expected Location
Vector

Outputs

Out
Exec

Current Distance
Float (single-precision)

Return Value
Boolean

Get the grip distance of either the physics handle if there is one, or the difference from the hand to the root component if there isn't