FindClosestBone

FindClosestBone

Windows
MacOS
Linux

finds the closest bone to the given location

Target is Skinned Mesh Component

FindClosestBone
Target
Test Location
X0
Y 0
Z 0
Ignore Scale
0.000000
Require Physics Asset
Bone Location
X0
Y 0
Z 0
Return Value
None

Inputs

Target
Skinned Mesh Component Object Reference
Test Location
Vector

the location to test against

Ignore Scale
Float

(optional) if specified, only bones with scaling larger than the specified factor are considered

Require Physics Asset
Boolean

(optional) if true, only bones with physics will be considered

Outputs

Bone Location
Vector

(optional, out) if specified, set to the world space location of the bone that was found, or (0,0,0) if no bone was found

Return Value
Name

the name of the bone that was found, or 'None' if no bone was found

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss