You don’t have anything in your constructor.
Tutorial on how to set static mesh in constructor and attach it to root component.
Unreal Engine C++ Tutorial : Actors, Components & Meshes - YouTube
Then move the actor, with SetActorLocation, if you want it to actually move as in not teleport directly there then use deltatime, well anyway you have to first learn to sort of teleport it there and then after you get the hang of it you can make it slide there by using some function or delta time.
AActor::SetActorLocation | Unreal Engine Documentation
Youractor>SetActorLocation(FVector(blah blah blah.
Don’t forget to get location of the actor first tho.
You need to know the location of your actor on the world location first.
Just do these things first, don’t rush into moving things where things slide from one place to another, as you see them move across the screen. Try to understand the mechanicas first, and you will learn fast that way. After you do, you will slide things how ever you want with ease.
You can also slide things with SetActorLocation, like see it move across the screen.
Here is like a basic sintax.
YourLocation = GetActorLocation();
YourActor’s"AName" go’s here->SetActorLocation(YourLocation + FVector(What ever you want here));
YourLocation is a var type of what you want, Float, FVector and so on, like wise declare it first in the header or directly in the CPP if you don’t want to set UPROPERTY and don’t need it.