SceneComponent GetWorldLocation c++ equivalent

GetComponentLocation() - “Return location of the component, in world space”

https://docs.unrealengine.com/en-US/…ion/index.html

Also, kinda weird that there is “SetRelativeLocation()” but no “GetRelativeLocation()”.

You have to use “GetRelativeTransform().GetTranslation()” and “GetRelativeTransform().GetRotation().Rotator()”.

3 Likes