View Full Version : Max script tutorial
cdinic 07-31-2002, 03:17 PM looking for a simple tutorial, or set of tutorials on how to set up some dummy controlers. i.e. horizontal position of a dummy object controls the rotation of 5 hinged doors.
my old "Inside 3d Studio MAX 2 volume 1" book isn't doing it for me...
Thanks!
-Chris
|
|
Chris
07-31-2002, 10:16 PM
You dont need to do that via scripting you can do it through wiring. Have a look in the help files on how to go about wiring, the basic procedure goes like this:
make sure your dummy has a position xyz controller
make sure your hinges have euler xyz controllers
select your dummy, right click & select wire parameters
wire the required transform axis to the hinges required rotation axis (decide whether you want one way or 2 way control) then connect
rinse & repeat for every hinge.
thats it! :)
the wiring is only active for the length of the animation when you wired it, if you change your animation to longer, you have to extend the wiring through the track view
p.s. if you find the hinges rotating too fast, bring up the wire parameters dialog, & on the hinge side, change the expression from x_position to .25*x_position (that will slow the rotation to quarter speed - replace x_rotation for whatever you have in the dialog)
CGTalk Moderation
01-13-2006, 12:00 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.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.