Very basic collision detection example and source 1: http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=8&aid=130
Very basic collision detection example and source 2: http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=8&aid=131 <http://www.allforthecode.co.uk/aftc/forum/user/modules/forum/article.php?index=4&subindex=8&aid=130> On 20 January 2011 10:39, amigo <[email protected]> wrote: > done thanks a lot > > > On Jan 20, 10:06 am, John Brookes <[email protected]> wrote: > > Simple answer is, it works. > > > > Trace out > > trace(plane.distanceTo(cube)) > > If nothing traces its something else in your code. > > > > You do understand the distance is calculated from the centers of the cube > > and plane. >
