How to change the movement orientation?
I have quite complicated question to describe, but I'll try. I have set up a few cameras on my scene and the view from the camera is only displayed when I'm in the box trigger connected to the camera blueprint. However when I move to another room (for example), the view changes to the other camera, but the movement orientation stays as before. That means if I press left, the character turns right because of the specific camera position.
Is there any way to make movement orientation match to the camera view?
asked Jan 21 '15 at 11:14 PM in Blueprint Scripting
Hmmm. What I would probably do is set up the character movement to run off of a 'CurrentForwardVector', such that when you press 'Left', you use the 'CurrentForwardVector' rotated by 90 degrees as the direction (and not a hard coded vector).
Then, I'd have the 'CurrentForwardVector' for the character be set when you change the camera, to whatever the camera's forward vector is (although you may need to 0 out the Z component of the vector if you don't want your character flying!)
answered Jan 22 '15 at 02:34 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here