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 |
UFUNCTION (BlueprintPure, Category="Animation|Utilities",
Meta=(NotBlueprintThreadSafe, DisplayName="Get Direction Between Sockets", ScriptName="DirectionBetweenSockets"))
static FVector K2_DirectionBetweenSockets
(
const USkeletalMeshComponent * Component,
const FName SocketOrBoneNameFrom,
const FName SocketOrBoneNameTo
)
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 |