Infinite motion and bounciness inside a closed room.

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.

Look at physics materials. and apply it wo balls / wall. (you can set bounciness there)
Also, this case is so simple (spheres only in rectangular room) I would implement the no energy loss environment myself (not using unity Physics system).
So you’re not lost if this solution won’t work for you :slight_smile: