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 Tools Search this Thread Display Modes
  02 February 2013
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:

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:

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 

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.
  02 February 2013
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.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
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
Society of Digital Artists

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

All times are GMT. The time now is 05:01 AM.

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