USkeletalMeshSocket::InitializeSocketFromLocation

Sets BoneName, RelativeLocation and RelativeRotation based on closest bone to WorldLocation and WorldNormal

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/SkeletalMeshSocket.h

Include

#include "Engine/SkeletalMeshSocket.h"

Source

/Engine/Source/Runtime/Engine/Private/SkeletalMesh.cpp

Syntax

void InitializeSocketFromLocation
(
    const class USkeletalMeshComponent * SkelComp,
    FVector WorldLocation,
    FVector WorldNormal
)

Remarks

Sets BoneName, RelativeLocation and RelativeRotation based on closest bone to WorldLocation and WorldNormal

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