Search Unity

Allowing small rigidbodies to spin when colliding with surfaces

Discussion in 'Physics' started by Monsieur-Chupon, Jan 4, 2019.

  1. Monsieur-Chupon

    Monsieur-Chupon

    Joined:
    Jun 1, 2013
    Posts:
    8
    Hello everybody,

    I have a little ball (sphere collider) that falls down on a slopped surface. When I set the size to 1.0 (giving a mesh around 10cm wide), the ball will bounce without any rotation, as if it was just sliding. If I set higher values, it will start spinning on contact, as it should be.
    I've read some things about Unity using collider size to compute interactions, but I really need to keep size to 1.0 and to get some spinning. Is there a workaround to prevent this behavior? Maybe some "world physic scale" parameter or something?

    Thank you.
     
  2. Edy

    Edy

    Joined:
    Jun 3, 2010
    Posts:
    2,508
  3. Monsieur-Chupon

    Monsieur-Chupon

    Joined:
    Jun 1, 2013
    Posts:
    8
    Thanks, but I've already set a physical material (1.0 in each fields, "combine" set to "multiplied"). Terrain also has a physical material (0.6 in each fields, "combine" set to "multiplied")...
    I tried modifying Mass, Drag and Friction, behavior is the same...
     
  4. Monsieur-Chupon

    Monsieur-Chupon

    Joined:
    Jun 1, 2013
    Posts:
    8
    It seems I've managed to overcome this issue by using a Capsule Collider instead of a Sphere one. Simply set Height to 0.0 and you have a working Sphere Collider.
    Well... I guess it's heavier, though.