Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components > API/Runtime/Engine/Components/USkeletalMeshComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SkeletalMeshComponent.h |
| Include | #include "Components/SkeletalMeshComponent.h" |
| Source | /Engine/Source/Runtime/Engine/Private/Components/SkeletalMeshComponent.cpp |
FVector GetClosestCollidingRigidBodyLocation
&40;
const FVector & TestLocation
&41; const
Remarks
Iterates through all bodies in our PhysicsAsset and returns the location of the closest bone associated with a body that has collision enabled. location of closest colliding rigidbody, or TestLocation if there were no bodies to test
Parameters
| Name | Description |
|---|---|
| TestLocation | location to check against |