Simulating Car Motion Using Reactor (Wheel) - By Aziz
August 19th, 2006
Level: Intermediate
Edited by Oman3D
Reactor is a powerful tool that comes with 3d Studio Max, it makes it possible to simulate realistic dynamics based on physically-defined properties, such as hard body, soft body, cloth, and liquid. It can simulate the reaction occurring when a box falling from a high place hits the ground. This could be compared to all the time required to do the same effect using keyframes, and that wouldn't still give us a realistic animation similar to the one possible to create using reactor. This tutorial will teach you how to simulate car motion using the Wheel Reactor. The video below features the result that we are going to create in this tutorial.
We created in this tutorial a simple scene for a car moving on a lane to show you how to use the Wheel Reactor in 3D Studio Max. The scene to be used to follow this tutorial could be downloaded from this link.
Setting up the scene
Fire up 3DS Max and open the file that we gave you. You should have the following elements in the scene:
- Road - A one sided curved surface
- Car - Made up of four cylinders and a box
You can click to see the car move and then stop completely at Frame 10. The keyframed animation was used to set the initial speed as an input to start the physical simulation.

Setting Up Reactor
For Reactor to work perfectly, we need to add the scene model to the reactor world as . Access the Reactor Panel and then click on the Rigid Body Collection button
from that panel.
Click on the scene once to create the RB Collection. Access the tab and scroll down to find the rollout. Look for the button and click it, the window should pop-up, select all the models available by clicking on and then click on to make the selection and close the window.

Setting the Reactor Wheel
Access the Reactor panel once more, but this time click on the button
, add it by clicking once on the scene. Go through the tab and look for the rollout, check the box next to and then click on the button labeled and choose the body1 box, click on the button labeled and assign the tire01 cylinder to it.

Repeat the step above three times so that you apply Reactor to each one of the three tires (Cylinders) by assigning each one as a child and the body box as a parent. We Assigned the Car-Wheel Constraint to a single parent - body1, and this will make it work as the car chassis as moving it shall then make the tires roll with it.

CSolver
Access the Reactor panel once more and click on the CSolver button
. Look for the rollout in the tab, click on the button labeled below the heading, select the Rigid Body Collection from the scene (the 3 stack box we created earlier). Click on to open the window and select all the car-wheels from the list, click on to close the window.

Setting the Property Editor
All the needed reactor helpers are now set. The remaining step is for us to configure the Physical Properties for the Rigid Bodies before we can go ahead and set up the Reactor properties and start the real-time simulation. We'll now have to access the Reactor Panel and then click on the button
to open the up the window. We'll now have to select each element in the scene, one at a time, and assign the the following physical values and Geometry shapes.
- Body1 "box"
Physical Property rollout
:
Simulation Geometry rollout
Mesh Convex Hull: This is the default option. The object's geometry is passed through an algorithm which creates a convex geometry using the geometry's vertices and which completely encloses the geometry's vertices.
- tire01, tire02, tire03, tire04
Physical Property rollout
:
Simulation Geometry rollout

- Road
Simulation Geometry rollout
Concave Mesh: The actual mesh of the object is used for simulation.

Simulation Geometry: tells Reactor which physical representation of the object is to be used for the rigid body. You could review 3DS Max help files for more info.
Setting up Reactor
Access the tab and then select from the list to set it up. Access the and expand the rollout. You will then have to set the to and the to . Finally, expand the rollout and set the to as illustrated in the image bellow.

This should make Reactor start the physical simulation at Frame 2 and end at Frame 200. Reactor takes the input of the car speed as the speed at which the car is moving from frames 0 to 10, which could alternatively be selected to do this simulation.
Collision Tolerance is one of the tasks that Reactor performs in each simulation step is detecting whether any objects in the scene are colliding so that it updates the scene accordingly. Higher Collision Tolerance values will result in a more stable simulation. For more info please refer to the the help file that comes with 3DS Max.
We can now run the Reactor simulation to see the result run at real time, access the Reactor panel and then click on the Preview in Window button
. This should open up the window with, hit on your keyboard to start the simulation.
You can now also pass the simulation result to the Max viewport as a keyframed animation. This could be done by clicking the Create Animation button
found on the Reactor panel. This process should take a few seconds to be completed.

Once the previous process is completed, you can hit the button
to view your final simulation of the car. You can also produce the animation through videopost.

This concludes our tutorial, you can download the end scene from this link. I hope that you enjoyed this tutorial and that you learnt something about implementing car-wheel constraints to simulate a car motion with reactor. Please feel free to post all your comments and questions at the Oman3D Forum.
Links to other Reactor tutorials:
- Simulating A Running Fan Using Reactor (Motor)
- Simulating Curtain Movement Caused by wind Using Reactor (Cloth and Wind)
- End of Tutorial