- Home /
Question by
HypnotistDK · May 17, 2018 at 01:09 PM ·
animationblend treetop down shooterstrafe
3D, Top Down, Twin stick, Strafing animation problem
I'm building a 3D Top down shooter game, with twin stick controller. one controlling movement and another controlling aiming direction. my problem is i dont know what conditions i can set in blend tree to use a left or right strafe animation.
I use Vector3.Dot(moveJoystick, aimJoystick) to check if im running forward or backwards but i can't figure it out with strafing.
can anyone help?
Comment