GetClosestPointOnPhysicsAsset

GetClosestPointOnPhysicsAsset

Windows
MacOS
Linux

Given a world position, find the closest point on the physics asset. Note that this is independent of collision and welding. This is based purely on animation position

Target is Skeletal Mesh Component

GetClosestPointOnPhysicsAsset
Target
World Position
X0
Y 0
Z 0
Closest World Position
X0
Y 0
Z 0
Normal
X0
Y 0
Z 0
Bone Name
None
Distance
0.0
Return Value

Inputs

Target
Skeletal Mesh Component Object Reference
World Position
Vector (by ref)

The point we want the closest point to (i.e. for all bodies in the physics asset, find the one that has a point closest to WorldPosition)

Outputs

Closest World Position
Vector
Normal
Vector
Bone Name
Name
Distance
Float
Return Value
Boolean

true if we found a closest point

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