Raised This Month: $ Target: $400
 0% 

Rotate by moving direction


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
doondook
Member
Join Date: Dec 2010
Old 12-13-2011 , 03:34   Rotate by moving direction
Reply With Quote #1

Well, I need to rotate an entity, depending on its moving direction (only X and Y). Picture explains better I think

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?
doondook is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode