i have some simple enemys in my game that have two variables, an xspeed and a yspeed. Is there any way to get a rotation for the enemy from those values. Something like this: _rotation=Math.tan(yspeed/xspeed)
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Rotation Easing really is getting me down :( | 0 | 75 | September 20, 2007 | |
| Converting a rotation angle to a direction of motion | 0 | 121 | May 1, 2011 | |
|
Rotation and speed
|
0 | 47 | September 23, 2004 | |
| Enemy Rotation | 7 | 51 | June 11, 2008 | |
|
Easing help
|
0 | 42 | February 7, 2006 |