Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

Making path follow dummy
show user profile  herfst1
Hey, I don't suppose anyone knows how to make a dummy follow a path... BUT make the dummy fixed on 0,0,0, and have the path spin around the world axis?
read 143 times
9/27/2016 1:01:06 PM (last edit: 9/27/2016 1:01:06 PM)
show user profile  Garp
- duplicate the path as a copy
- assign a script controller to the copy's transform track
- create 2 variable tm_path and tm_dummy assigned to the transform tracks of the original path and its constrained dummy, respectively
- enter tm_path * inverse tm_dummy and evaluate

Something like that...

read 134 times
9/27/2016 5:33:40 PM (last edit: 9/27/2016 5:44:47 PM)
show user profile  herfst1
Brilliant, that code is exactly what I was looking for. I'll test it tonight.

Cheers, Garp.
read 128 times
9/27/2016 5:54:20 PM (last edit: 9/27/2016 5:54:20 PM)
show user profile  HANZZ
Create path, turn on vertex/grid snap.
Move path to 000
Using hierarchy tab, set pivot of path to 000
Select dummy, give path follow controller, assign the path
(by world axis, you want the path at 000 to rotate on some axis outward from 000?)
Turn animation on and rotate the path however you like

 photo MorgothArisenSig_zpsup4yjp7o.jpg

read 110 times
9/28/2016 2:55:46 AM (last edit: 9/28/2016 2:55:46 AM)
show user profile  herfst1
@ Hanzz, I am able to animate my path, no problem (it's a straight line) but I wanted the ability to not have to keyframe.

@ Garp, was too busy to test it last night, tried this morning. It's not currently working for me, and I know it's just user error. The problem I get is assigning the transform track of the dummy, it keeps on kicking out an error about not being able to do the inverse function. So I'm either choosing the incorrect variable to link to (I tried the path and position track). Comes up with an error like this:

'-- No "Inverse" function for 0.344545235353' (the number at the end changes depending on the track I linked).
read 93 times
9/28/2016 9:58:03 AM (last edit: 9/28/2016 9:58:03 AM)
show user profile  Garp
I'm using cameras to check that the positions of the constrained objects relative to their path are the same.
For your object, you might have to adjust the orientation by increments of 90° around one or two axes.

Unable to display content. Adobe Flash is required.

(Sorry for the erratic cursor moves. I think my mouse is dying on me.)

read 86 times
9/28/2016 2:37:38 PM (last edit: 9/28/2016 3:44:28 PM)
show user profile  herfst1
Thank you for the video, Garp. Works perfectly, cheers.
read 68 times
9/28/2016 5:19:39 PM (last edit: 9/28/2016 5:19:39 PM)
#Maxforums IRC
Open chat window