flight control

Well I managed to rip apart the Flight control project to where it just shows one plane and the run way.
I was wondering if there was a way to set up boundaries where the plan can’t fly outside of those boundaries. Say we had a maze that the plane had to fly through. If the plane tried to go through a wall it would cancel its path. is this possible? [import]uid: 51459 topic_id: 11327 reply_id: 311327[/import]

This could be done using the wall as a collision.

function onWallCollision(self, event) event.other.points = {} event.other:setLinearVelocity(0,0) end [import]uid: 139413 topic_id: 11327 reply_id: 107460[/import]