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 | |
---|---|---|---|---|
Rotating-problem of enemy
|
0 | 118 | November 3, 2011 | |
Rotation based on coordinates
|
0 | 37 | June 4, 2006 | |
Enemy Rotation | 7 | 38 | June 11, 2008 | |
Rotation and speed
|
0 | 38 | September 23, 2004 | |
Making a Enemy
|
0 | 132 | May 25, 2011 |