I’m trying to model something similiar to a rock polisher where the rocks are in a drum and then tumble over each other. One of the things that I need to show is as the drum spins faster there is a point where the rocks will start to hug the wall and go all the way around. I’m just wondering if anyone knows of any code or phyics packages that would be helpful.
Unity’s built-in physics should handle this quite nicely. You could start with a drum-shaped object (mesh collider) and add a rigidbody and a hinge joint to create the rotation. If you then place some rock objects inside, they should get spun around and hug the wall if the rotation speed is high enough. The time-consuming part will probably involve tinkering with the settings of speed, mass of rocks, etc to get the effect just right.
Sounds great!