This only works when the unit isn't moving.
If a unit, turns upside down at any point it will roll 180 Degrees.
Ground units don't seem to work even if you make them float.
Credits
Arkless
eXirrah
Twinmold20
Grogian
Rover2341
Attached Map
The attached map allows you to change the pitch and yaw by pressing A + D For Yaw, And W + D For Pitch. It was made by Grogain and Edited by Rover2341. It is a GUI Version.
very nice, i just found this and have been trying to adapt it to pitch and yaw of mouse but have had some problems with pitch glitching at specific angles it flips the wrong way as mentioned in your notes. may have to do with the full 0-360 rotation. ill keep messing with it but if anyone has any suggestion thatd be cool. havent touched roll, havent decided how i want it to work with velocity etc when turning.
How To Change A Units Yaw And Pitch With Code
What Is Yaw And Pitch?
Functions
ChangeOrientation(target,yaw,pitch)
Takes the desired target(unit), yaw, pitch. It then changes the targets(unit) yaw and pitch Instantly.
ChangePitch(target,pitch)
Takes the desired target(unit), pitch. It then changes the targets(unit) pitch Instantly.
Notes
This only works when the unit isn't moving. If a unit, turns upside down at any point it will roll 180 Degrees. Ground units don't seem to work even if you make them float.
Credits
Arkless eXirrah Twinmold20 Grogian Rover2341
Attached Map
The attached map allows you to change the pitch and yaw by pressing A + D For Yaw, And W + D For Pitch. It was made by Grogain and Edited by Rover2341. It is a GUI Version.
Nice work. I really want to see this made into realistic physics for the banshee :P
very nice, i just found this and have been trying to adapt it to pitch and yaw of mouse but have had some problems with pitch glitching at specific angles it flips the wrong way as mentioned in your notes. may have to do with the full 0-360 rotation. ill keep messing with it but if anyone has any suggestion thatd be cool. havent touched roll, havent decided how i want it to work with velocity etc when turning.