Greetings. I’m generating my level through a C++ class that I’ve created, but doing all the actual level spawning through Blueprints.
I’ve got my level geometry created and spawning just fine (I’m doing this in the construction script of my LevelGenerator class.)
Now I need to grab the center of a specific “tile” I designate (not a problem) and set that to be the player spawn spot. I’m able to use a “Get Player Pawn” with a SetActorLocation attached to it, but I also need to set the view rotation on that pawn to one of four different directions based on the directions available. Getting the values I need isn’t a problem, but actually setting the player’s rotation still eludes me for some reason. My usual smoke breaks aren’t giving me any breakthroughs. Is there a better, more preferred way to do this? Tried searching for the answers I needed, but didn’t quite come up with anything that worked for me.