android
Prev Previous Post   Next Post Next
  #36  
Old 03-05-2011, 05:52 AM
Android18 Android18 is offline
Junior Member
 
Join Date: Dec 2010
Location: Pokhara,Nepal
Posts: 35
Default

IF U GUYS ARE TALKING ABOUT COLLISION CHECK FOR A PROJECTILE AND GROUND THEN

for the collision check
We can have a fixed x axis and a variable y axis
I just has to check once if it has a collosiion

if u arrange the point of hills according to ascending xcoordinate

xpos
ypos

hill_y[xpos]>ypos then --code-- end
Reply With Quote

 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 -5. The time now is 05:16 PM.