![]() |
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? |
Google Rotation Matrices.
|
so? lol i asked for collision with a showimg xP
|
| All times are GMT +2. The time now is 12:08 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.