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

Marble loses a lot of momentum on flat surface, then maintains that momentum indefinitely.

Discussion in 'Physics' started by Garmichael, Apr 18, 2015.

  1. Garmichael

    Garmichael

    Joined:
    Mar 17, 2013
    Posts:
    17
    Hey all,

    I am working on a project with marbles. I have a ramp, and the marble rolls down it reasonably, but once it rolls onto a flat surface, it loses most of its momentum, then maintains that momentum indefinitely.

    Here it is in action: http://www.develteam.com/userdata/Garmichael/posted/Marble/Marble.html

    Here are my settings:


    I scaled the physics and time because the marble is supposed to be 1cm, but I have scale it to 1m (1 unit in Unity). Dealing with spheres at 0.1 scale was.. difficult.

    Does anyone have any idea what is happening, why, and what I can do about it?


    Thanks!
     
    Last edited: Apr 20, 2015
  2. Garmichael

    Garmichael

    Joined:
    Mar 17, 2013
    Posts:
    17
    I figured out, sort of, what's causing the indefinite momentum thing. It has to do with the collider on the surface the ball is rolling on.

    It's when I use a Mesh Collider that the marble never stops rolling.

    When using a Box Collider, it does stop normally.

    I tried this on a standard Unity Cube and got the same results.

    Any idea why?
     
    Last edited: Apr 20, 2015