Raised This Month: $51 Target: $400
 12% 

Turn angle in period [SOLVED]


Post New Thread Reply   
 
Thread Tools Display Modes
Sylwester
Veteran Member
Join Date: Oct 2006
Location: Poland
Old 10-02-2014 , 11:44   Re: Turn angle in period
Reply With Quote #21

I'm not sure what your point is. You need 60 or more in-game fps to get best experience, but there is no point in making AI think more than 20-30 times per second.
__________________
Impossible is Nothing
Sylwester is offline
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 10-02-2014 , 15:22   Re: Turn angle in period
Reply With Quote #22

Now, sometimes it starts to go in opposite direction in number 8 shape, or sometimes if the ideal angle is behind npc then it turns in opposite direction then it has to.

If it's not to hard could you maybe write the function how to get ideal angle, because the method I'm currently using uses a couple of functions to get the ideal angle, + I don't even know if those functions work correctly

if it's not too hard please just fit everything in one function, and sorry for my dumb head, I just can't learn this crap (believe me, I tried)
__________________
and once again

Last edited by usaexelent; 10-02-2014 at 16:08.
usaexelent is offline
Send a message via Skype™ to usaexelent
usaexelent
Senior Member
Join Date: Nov 2009
Location: Lithuania
Old 10-07-2014 , 20:54   Re: Turn angle in period
Reply With Quote #23

SOLVED!!!

Big thanks to .Dare Devil. for all his help.

In the end I just nicked code from SDK
__________________
and once again
usaexelent is offline
Send a message via Skype™ to usaexelent
Reply



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 22:32.


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