
03-02-2006, 01:24 AM
|
|
Registered User
|
Join Date: Jan 2004
Posts: 403
|
|
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? |
__________________
|
|
|
|