Navigation
API > API/Runtime > API/Runtime/AnimGraphRuntime > API/Runtime/AnimGraphRuntime/UKismetAnimationLibrary
References
| Module | AnimGraphRuntime |
| Header | /Engine/Source/Runtime/AnimGraphRuntime/Public/KismetAnimationLibrary.h |
| Include | #include "KismetAnimationLibrary.h" |
| Source | /Engine/Source/Runtime/AnimGraphRuntime/Private/KismetAnimationLibrary.cpp |
static FVector K2_DirectionBetweenSockets
&40;
const USkeletalMeshComponent &42; Component,
const FName SocketOrBoneNameFrom,
const FName SocketOrBoneNameTo
&41;
Remarks
Computes the direction between two bones / sockets.
Parameters
| Name | Description |
|---|---|
| Component | The skeletal component to look for the sockets / bones within |
| SocketOrBoneNameFrom | The name of the first socket / bone |
| SocketOrBoneNameTo | The name of the second socket / bone |