Wow, I’m asking too many questions today… How would I get the position of a static mesh and set the position of a pawn via C++ code
#GetActorLocation()
#SetActorLocation()
#Ex:
const FVector NewLoc = Outer Space;
MyCharacter->SetActorLocation(NewLoc);
Rama
Thank you Rama. I figured this out a long time ago. I didn’t phrase my question correctly, haha. It was on a UStaticMeshComponent.
For that it is.
UStaticMeshComponent->SetWorldPosition(FVector position);
Thank you for replying though!