How can I transform MainComponent->GetComponentRotation()
to FVector
?
Do I have to use AddForce()
for child components?
I need to get its rotation vector. How do I get it correctly?
You should be able to use either
MainComponent->GetComponentRotation().Vector();
or
MainComponent->GetComponentForwardVector();
See documentation - GetComponentRotation() and GetComponentForwardVector() for more details.