All pastes #457559 Raw Edit

Mine

public text v1 · immutable
#457559 ·published 2007-04-25 13:46 UTC
rendered paste body
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...
}