Language:
Discover
By Skill Level
By Category

USceneComponent::GetSocketWorldLocationAndRotation

Choose your OS:

Syntax

void GetSocketWorldLocationAndRotation
(
    FName InSocketName,
    FVector & OutLocation,
    FRotator & OutRotation
)

Remarks

Find the world-space location and rotation of the given named socket. If the socket is not found, then it returns the component's location and rotation in world space.

whether or not the socket was found

Returns

whether or not the socket was found

Parameters

Parameter

Description

InSocketName

the name of the socket to find

OutLocation

(out) set to the world space location of the socket

OutRotation

(out) set to the world space rotation of the socket

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SceneComponent.h

Source

Runtime/Engine/Private/Components/SceneComponent.cpp