View Single Post
Old
chickentree
Super Moderator
 
Status: Offline
Posts: 250
Join Date: Dec 2012
Location: Frosno, Ca
Default 07-08-2014, 11:41 AM

Quote:
Originally Posted by jrrTolkien View Post
Well yeah, but that's HARDER. Anyway, Alice itself doesn't allow to make proper collision detection. The best you can really do is "if object is within threshold of" and that doesn't work with flat or square objects. And of course, I currently know hardly anything about Java, or I'd just try to edit the code itself. That's my next goal. To learn more Java.

-jrr
I've had some luck with using a second object. For instance, If I have an aircraft carrier to land on, I might create a half cylinder, align its flat side to the carrier deck and set it's vehicle to the carrier. Then, since the half cylinder is upside down, check if whatever is landing is below the half cylinder ( that is the same as above the carrier's flight deck.)
Its not elegant but it works.

Mark


Mark Henwood
mhenwood@ieee.org
   
Reply With Quote