Search Unity

Problem with car game, car flies over jumps

Discussion in 'Physics' started by break_heart, Feb 11, 2015.

  1. break_heart

    break_heart

    Joined:
    Oct 16, 2014
    Posts:
    12
    Hello,

    I'm doing a car game and have a little problem. I put a hop and skip the car when flies, does a real jump. I tried to change gravity and if I put -22 jump does well but the physical control of the car changes. How I can do to keep -9.81 gravity but which breaks the car does not fly?

    A greeting and thanks.
     
  2. KingMatthew

    KingMatthew

    Joined:
    Jul 7, 2013
    Posts:
    166
    If you mean the cars brakes make the car flip over, then try lowering the center of mass. Also make sure the size of the car matches what it should be in real life.
     
  3. SeasiaInfotechind

    SeasiaInfotechind

    Joined:
    Nov 17, 2014
    Posts:
    32
    :)
    You have to work on the center of mass of the body.Try to set the center of mass position at run time.
    Thanks