playMaker

Author Topic: Top down player controller help  (Read 628 times)

ad0mwalker

  • Playmaker Newbie
  • *
  • Posts: 3
Top down player controller help
« on: September 05, 2020, 12:57:13 PM »
Hi all,

I'm currently developing a 3D top down game. In one of my states, when I right click, my character locks on and looks at the position of the cursor. When I press the x or z axis buttons, this updates the animator float values and animates the character based off the blend tree I set up. However the input is from the characters perspective. So if he's facing to the right of the screen and I press "up", he moves forward, and doesn't strafe to the left like you would expect.  I would like the input from the cameras perspective so that up would move and animate correctly based off where the camera is looking. Can any one help in the method of this? I've been looking at this for the past 2 days and just can't seem to figure it out. Any help would be greatly appreciated.

Thanks