Suspension + Geometry Constraint problem

Become a member of the CGSociety

Connect, Share, and Learn with our Large Growing CG Art Community. It's Free!

THREAD CLOSED
 
Thread Tools Search this Thread Display Modes
Old 02 February 2013   #1
Suspension + Geometry Constraint problem

Hello, first time posting here.

I'm a novice 3ds Max user, using it to animate and composite for a school project. I followed a car rigging tutorial and adapted it to my Martian rover model with six wheels (The front and back sets of wheels are the only ones that affect the body pitch and roll). Tutorial here:
http://cg.tutsplus.com/series/build...ifting-car-rig/

The rig has controllers that are constricted to a path the length of the suspension travel along the Z axis. To make my life 100x easier, I sought to have the z movement of the controller constrained to a bumpy surface along which the rover is travelling. My search resulted in the script from this thread:
http://forums.cgsociety.org/showthread.php?t=822730

theray = ray ($Sphere01.pos + [0,0,50]) [0,0,-1] --switch sphere01 with the object you're putting this on 
intersection = intersectRay $Plane01 theray -- Plane01 or the object you want to constrain to 
if intersection != undefined then 
( 
        intersection.pos.z 
) 
else(0)


I can apply the code to a dummy and get exactly the results I want. However, the problem arises in having the z-position of the dummy influence the % along the path for the suspension controller. I've tried wire parameters to no avail, as my understanding of scripting and the like is very small.

ANy help or better techniques would be very appreciated.
 
Old 02 February 2013   #2
Thread automatically closed

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.
 
Thread Closed share thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
CGSociety
Society of Digital Artists
www.cgsociety.org

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump
Miscellaneous

All times are GMT. The time now is 06:48 PM.


Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.