0
\$\begingroup\$

This is my situation. I need align the center of the object (it's box) and the center of the scene component. I have only center of the box TVector type or FVector. How can i do it?

FBox Box;

//some shity code

auto Center = Box.GetCenter();

SomeActor->AttachToComponent(SomeUSceneComponent, SomeAttachmentRules)
SomeActor->SetRelativeLocation(??????)

```
\$\endgroup\$

0

You must log in to answer this question.

Browse other questions tagged .