This does work, but the unit ends up moving the wrong way. W = Right, S = Left, A = Down, D = Up, and I have no idea why. Any help would be appreciated! Thank You!
Since I use a top view camera that simply follow the unit, I use basic angles.
D = 0
W = 90
A = 180
S = 360
From a world perspective, pressing W would make the unit move toward the north, pressing D would make the unit move toward the east, etc.
I prefer this over a "turn unit" with A&D and move forward with W but I guess its based on tastes.
Hi, I have read some WSAD tutorials and watched some videos but I don't seem to get why my WSAD moves the wrong way. My trigger is like this:
This does work, but the unit ends up moving the wrong way. W = Right, S = Left, A = Down, D = Up, and I have no idea why. Any help would be appreciated! Thank You!
Are you using the default camera, a top view or a "behind the unit" view?
What is the value of Run_Angle[1]?
If you're using the default camera or a top view, I would suggest using a fix angle (D == 0 degrees, W == 90 degrees, A == 180 and so on).
@Deltafox: Go
What are the values you are assigning to run angle?
@SCMapper:
Since I use a top view camera that simply follow the unit, I use basic angles.
D = 0
W = 90
A = 180
S = 360
From a world perspective, pressing W would make the unit move toward the north, pressing D would make the unit move toward the east, etc.
I prefer this over a "turn unit" with A&D and move forward with W but I guess its based on tastes.
I was using top view. Thanks your angles worked Deltafox ^_^!