I’m using the Top-down c++ template and the problem Im having is that my character rotates towards the move direction even though I have it turned off in the code:
If it’s the same as the fps template, It’s using a function that calculates the rotation with the movement. You’ll probably have to manually do it or you can just make setrotation 0.0f after the function.
You’re just wanting the character to move around without rotating right?
I couldn’t find another way too do it without ripping apart everything
You could use Rot to manually rotate the character if you need to.
You COULD add another mesh object to the character class and use ->babsoluteRotation = true on it and hide rotating character(and change it to a super simple mesh), it would work but that"s kind of a crazy hack lol.
This would work if it wouldn’t permanently kill rotation no matter what method was used. I only want to stop move direction changes from inflicting a new rotation on the character.
I think this may be a bug, but I found a fix. I had to go into my character BP, get character owner, connect to character movement, and set orient rotation to movement (uncheck).
Not sure why this doesn’t work in the code and only works in BP.