Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HitTest Problem!

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Im experimenting with making a game in a "isometric" view.
My problem is the hitTest colission commando, or more precisly the Bounds of objects.
Wheter the object is a circle or a triangle, the bounds (outline) is allways a rectangle,
and thats a bit of a problem in an isometric view, where the view is kind of "rotated".

If i could just rotate a rectangle, and the bounds would follow, everything would be good.
But it seems like i have to code my way out of it, with quite complex coordinate checks.

Has anybody had the same problem, and maybe found a solution?

Best regards,
Dr. hitTest.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top