Predictive Aiming / Tower Defense
Here is a physics and a non-physics sample for predictive aiming, auto-targetting or the classic "tower defense" solution. The first sample requires you to tap to add towers. Regular Box2D sensor collision detection is used in the second sample to begin firing at a target. Please note that targets which cannot be hit will not be fired at - this is much more common and more misleading than common sense would indicate... More...
Posted by horacebury, Posted on 22 May 2013, Last updated 22 May 2013 | 1 comments
