The Basics

Rolling Ball, is a Script for 3Ds Max that allows the automatic rotation of a ball in any direction and on any surface.

<aside> 💡 Just animate the main control called <ctrl_ball> and the ball will rotate automatically.

</aside>


How does it work?

The Script mathematically calculates how much the ball should rotate and in what direction. Considering the distance traveled and the radius of the ball. There are no dynamic, CUDA, or physical collision calculations. The response of the ball on a ground is performed by calculating the intersection point of the ball <ballGround> on the ground with the Intersect Ray function of 3ds Max. And at that point of intersection the ball is positioned, so that the geometry of the ball or the terrain is not taken into account.

<aside> 💡 In summary, the Script performs: ∙ A calculation for the rotation (how much the ball should rotate and in what direction) ∙ A calculation for the position in Z (Intersection between <ballGround> and the terrain)

</aside>


Run Script

Rolling Ball does not need to be installed. Just drag the script into the 3ds Max viewport or use the menu Scripting / Run Script... and Rolling Ball will be ready to be used.


UI Settings

3dsmax_YUN5hn5F3t.png

The interface has only one button.

Pressing it will create a Ball Rig.

You can create as many balls as you want, each one will have its own independent rig.


The RIG

Pressing the button will create the RIG BALL

1.png