Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

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