How do I make my object not fly away?

I’m making a tron game and if my bike gets bumped to much it starts flying away. Its like if you were on the moon and you get pushed you fly away. Can anyone help me fix this? Also here is the script that makes my bike constantly go forward, I don’t know if it has to do with it.

var speed:int = 10;
function Update() 
{
    transform.Translate(Vector3(0,0,speed) * Time.deltaTime);
}

For the Fly away part you cloud try to make the rigidbody mass higher. This makes sure that there need to be more force to push them away.

I may be wrong, but I guess that using the transform.Translate() method moves the Game Object without checking for collisions on the next position before actually moving, and then if the bike moves inside another object and it detects a collision, it’s going to be pushed away. Try using the velocity attribute of the RigidBody to move the bike, something like this:

var rb : RigidBody;

function Awake()
{
    rb = GetComponent.<RigidBody>();
}

function Update()
{
    rb.velocity = new Vector3(0f, 0f, speed * Time.deltaTime);
}