c++ void FlyingVehicle::DevilSetPathNode(PathShape* pathObject) { mPathShape = pathObject; mRigid.linPosition = mPathShape->getRenderTransform().getPosition() + mPathOffset; } script function iTick::onTick(%this) { if($val == 1) $player.moveShip($dir); $player.setShapeNode(shapeOfPath); // Do cool stuff... }