UKismetAnimationLibrary::K2_DirectionBetweenSockets

Computes the direction between two bones / sockets.

Windows
MacOS
Linux

References

Module

AnimGraphRuntime

Header

/Engine/Source/Runtime/AnimGraphRuntime/Public/KismetAnimationLibrary.h

Include

#include "KismetAnimationLibrary.h"

Source

/Engine/Source/Runtime/AnimGraphRuntime/Private/KismetAnimationLibrary.cpp

Syntax

static FVector K2_DirectionBetweenSockets
(
    const USkeletalMeshComponent * Component,
    const FName SocketOrBoneNameFrom,
    const FName SocketOrBoneNameTo
)

Remarks

Computes the direction between two bones / sockets.

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss