Thread: Onwaal
View Single Post
  #1  
Old 05-25-2007, 12:47 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Onwaal

Can someone PLEASE help me with the onwall checks for a car? :C

I SUCK at onwall checks, I'm just doing

PHP Code:
function willCrash()
{
  
temp.movex = getMoveX();
  
temp.movey = getMoveY();
  
  if ( 
onwall2( temp.movex, temp.movey, 2, 2 ) )
  {
    return 
true;
  }
} 
can someone please help me with this?

I'm showing an image for the car, which simply rotates.
__________________
Reply With Quote