Hi guys, I'm trying to make a player character do a quick dash in the direction they are facing. So far it works as long as I am giving the input to the controller but I would like it to work if they are standing still.
I am using a Character Controller (no rigidbody), with "Get Axis Vector" storing a vector 'movement' and using "Controller Simple Move". When I call the Dash state I simply use the "Controller Simple Move" again with a high speed and "Wait" for 0.3 seconds. The problem is the 'movement' vector I am sending is Zero if the character is standing still.
My question, is there a way to find the direction the character is facing and change a Vector to be a value of 1 in that direction?
Also, I tried just plugging in a Vector variable like (0,0,1) and it just makes them run along the global Z axis and faces them in that direction. I have been looking all over the forums and going through the tutorials but I haven't had any luck.
Thanks for any help