View Single Post
  #1  
Old 03-02-2006, 01:24 AM
projectigi projectigi is offline
Registered User
Join Date: Jan 2004
Posts: 403
projectigi is an unknown quantity at this point
Rotation&collision

any good way to make a collision for a rotated image?
currently i think of getting the edges with sin() and cos() and then calculating the distances between them
then calculate width/height
then start setting up a setshape2 array by checking every point if its on/in the car, if so set it to 22 if not set it to 0

any better way?
__________________
Reply With Quote