Mine
public text v1 · immutablec++
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...
}