Changing controllers during gameplay
I want to change the inputs direction during gameplay to adapt my camera changes ( As in this video https://twitter.com/SeijiGameDev/status/1030304438500687873 )
Since the perspective change, the commands should adapt to the camera. Let's say W and S move on X axis, and A and D move on Y. If I turn my camera 90 degrees, A and D should be in X axis. (The video helps to understand what I am trying to say)
So, I've been trying to change in the Level Blueprint, just like I do my camera changes, what I am trying to do right now is rotating the character, so the Forward and Right vector rotate with it and all works... But the character rotates and the controller dont.
At first I was thinking in changing between PlayerControllers, but I readed that I would have to reload the level to do so.
So, how should I do it? Should I place all my controller schemes in one Player Controller and use some booleans to comunicate which one to use from the level blueprint? Or am I just missing something when I try to rotate the character?
Thanks for the help
asked Aug 18 '18 at 02:57 AM in Blueprint Scripting
What if before feeding your movement input into the Node that moves the actor, pass the movement vector through a node to make the movement vector you're about to use orient its forward the same as the camera's?
answered Aug 18 '18 at 07:13 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here