Transform a Robot into a car (transformers style)

im sort of a newbie to java scripting and want to learn more to make a game. so far the car can turn into the robot and back when nothing is moving.problem is if you drive the car then switch to the robot, the robot is in the same spot as it was when it was deactivated. im trying to make the robot and car stay together when one is activated and the other is not. but just make one of them invisible until a button is pressed.

if anyone could give some pointers it would be great.

travis

Set the robot transform.pos = car (at switch), or just set the renderer on/off as needed depending on which one is active.