How to move towards where the mouse points
I'm working with unreal's rollerball template trying to make a movement mechanism similar to Marble Blast or even the third person template. I achieved mouse look on the template so the player can look around the world but when I move forward in moves according to the forwards direction. So I'm failing to make the player move towards where the mouse is pointing or where the player looks at.
Any help with this would be greatly appreciated as I can find any solutions online.
asked Feb 14 '16 at 05:19 PM in Blueprint Scripting
seems you want to 'orient rotation to movement' however I see your not using a character movement component so this is now more difficult than if you did.
Off the top of my head my solution would be: on your movement events branch on axis value being nearly equal to 0, if true set 'use controller rotation yaw' to false, if false set 'use controller rotation yaw' to true.
not quite sure why you wouldn't want to just 'use controller rotation yaw' all the time but w/e.
Follow this question
Once you sign in you will be able to subscribe for any updates here