Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We've updated our Terms of Service. Please read our blog post from Unity CTO and Co-Founder Joachim Ante here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Infinite motion and bounciness inside a closed room.

Discussion in 'Physics' started by ashishchandy, Aug 7, 2018.

  1. ashishchandy


    Jan 18, 2016
    I am trying to create a 3D world which contains objects(sphere collider) in constant motion inside an enclosed room (made of walls of box colliders).

    I need the objects to bounce off the walls and off each other infinitely.

    I apply a force at the Start() of each object. The "Use Gravity" is set at false for all objects and walls. The walls are "Is Kinematic".
    There is a physics material for objects and walls where friction is 0 and bounciness is 1.

    The problem is that the objects strike the wall and don't bounce at all, rather they slide along the wall and stop.

    Kindly help.

    Object.png Screen Shot 2018-08-07 at 1.59.15 PM.png Screen Shot 2018-08-07 at 1.59.23 PM.png Wall.png
  2. Edy


    Jun 3, 2010
    Configure "Bounce Threshold" to zero in the Physics Manager (Edit > Project Settings > Physics)