Fixed top down camera, and character rotation.
Hi the hub.
Probably a simple problem, yet i can't get a solution.
Imagine a tennis game, fixed top-down camera. My input are always relative to world space, so my character goes up / down and left / right on the court (relative to the camera), but it always face the right side of the court (east). I want it to face the direction it is moving to.
I used the "get last movement input vector", it successfully make him face the direction of its movements BUT as soon as there is no more input, as soon it stop, it just faces again the right side of the court. (east)
How can I get it to keep his last rotation ? Maybe few tweak would do or maybe i should change the whole.
asked Nov 25 '16 at 10:00 AM in Blueprint Scripting
Store a local vector and keep updating it as your inputs fire. Then use that direction to set the orientation. That way it wont reset.
answered Nov 25 '16 at 10:10 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here