Relative LerpPos

Wow, I post a lot of problems. Anyway, I’ve been trying to make a character fly off into the air when another character is picked. I can’t work out how to make it relative to where that character may be. Here’s what I’ve done so far:

def LawbotFlyaway():
	flyaway = Cog3.posInterval(4,
							Point3((Cog3.getX), (Cog3.getY), 8.05))

As you can see, the character I want to fly off is called Cog3.

I would just quickly like to say that I managed to work this out myself just yesterday.