PDA

View Full Version : Rolling box. please help me!!!


leoCesar
03-24-2005, 01:29 AM
I know it really sounds stupid, but how can I animate a box “rolling” along its edges in 3ds max? Apparently it seams to be very easy, but I can’t figure how to keep the edges fixed on the ground without going frame by frame and fix the position of the box.

Please help me!

Largo39
03-24-2005, 01:33 AM
you know, reactor is your friend. this IS really easy.

1. make the rolling box
2. make another thin box which will be the "ground"
3. create rigid body collection
4. add rolling box and thin box to rigid body collection
5. give rolling box mass (reactor properties)
6. put rolling box somewhat abouve thin box
7. utilities >> reactor >> substeps to around 25, collision tolerance to around .3
8. simulate

LoneRobot
03-24-2005, 10:51 PM
there was a post about this very thing a while ago. i cant find it right now but i remember it because there was a link to this guy who had made a bike with square wheels! maybe someone can find it.

The technique went a bit like this -


make the box
add xform mod
position the center point on the box corner
animate the gizmo so the box rotates on that point
animate the center point again to move to the corner which has just met the floor
repeat the gizmo rotate
animate the center point again....etc

jimcoldt
03-28-2005, 05:58 AM
reactor may not give you the control you're looking for. However, you will need a reactor "motor" to make the box rotate (I think it's called "motor"...don't have max on this computer). Also, you only need a reactor "plane" object for the ground rather than another box. It'll calculate faster and the plane stretches infinitely in space...

Werewolf006
03-28-2005, 07:15 AM
here was a post about this very thing a while ago. i cant find it right now but i remember it because there was a link to this guy who had made a bike with square wheels! maybe someone can find it.

I remember that post but thats not the way it was done. someone posted a file where it's done done by wiring parameters and script controlers.

a box lies on the ground another that acts as a dummy has its center on the ground
the second rotates via a script and the first rotation is wired to the second the z pos is wired to the max of the second the motion is by a script.(I think)

leoCesar
03-28-2005, 11:55 PM
Thanks everybody for the answers!



Using reactor for the Box seems a bit awkward and too complex for this simple animation!

Using wire parameters and scripts also looks exaggeration rigging.

The Xform solution appears to be the best choice in max: simple and effective (it works like the box has its pivot point animated!

Thanks for this simple solution pudgerboy (member.php?u=131024).



Does other packages have similar tools like “Xform” (Maya for instance)?

CGTalk Moderation
03-28-2005, 11:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.