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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback