Rotate by moving direction
Well, I need to rotate an entity, depending on its moving direction (only X and Y). Picture explains better I think :)
http://s2.itrash.ru/idb/855a5f85e284...3/ololfoot.jpg So entity is moving in some direction and I just don't get how to rotate it in right angle :\ Ofc I can do that right if it moves along exactly X or exactly Y axis. But how to make it depending on its velocity? |
Re: Rotate by moving direction
Try using pev_avelocity (angle velocity)
|
| All times are GMT -4. The time now is 11:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.