Page 1 of 1

velocity detection

PostPosted: Fri Oct 12, 2007 12:35 am
by J Maker
ok i know that there is a code that will detect wich direction my player is going because i used it on one of my games but now i can't find where it is in my files and someone posted it in one of my AI questions for another on of my games but i can't find that post either so if someone can help me please do. if it helps at all heres an example:
Code: Select all
if (velocity detection code)
{
    change animation ______;
}
like that

Re: velocity detection

PostPosted: Fri Oct 12, 2007 12:40 am
by Oman
J maker i gave u that code, but it is very specific to your game, so next time i see u ill help u w/ it :D

Re: velocity detection

PostPosted: Fri Oct 12, 2007 12:44 am
by J Maker
just send..never mind go on yahoo!