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

Maxunderground news unavailable

Reaction manager / constraints / path follow problem: Snowspeeder
show user profile  zzero101
First post - please be kind!

I have a model aircraft (snowspeeder) parented to a dummy with a follow path constraint. I also have flaps rigged with reaction manager to rotate (local axis) to open as a controller / master, with dampers bound to object pivots which are parented to the flaps, and other objects rotating and following the flaps rotation. After some trial and error, the flaps work as I would like - when I rotate the flaps, the other objects work as expected. So far so good. The follow path also works, with banking, and I can still manually adjust the flaps at any point along the path. Still good.

The problem I have is that I would like the flaps to open 'automatically' as the master follows the path, so that as the master, hence fuselage banks when turning along the path, the flaps open.

I have tried many methods, all have failed with various failure modes, most of which end in one or another of the (secondary / parented) reactions breaking.

I cannot find a way to return the masters rotation when banking to use as a driver, nor can I find a way to do it through links, constraints or secondary reactions.

I hope I have explained my situation clearly, please ask for more info if it is needed. Any help would be gratefully received, as I have been trying to do this for a headache inducingly long time. Thanks in advance.
read 410 times
4/24/2016 6:18:56 PM (last edit: 4/24/2016 6:18:56 PM)
show user profile  herfst1
You mean something like this (ffd to end to see the master control flaps)?

It's just reaction manager stuff. Input that when the x-axis goes -1 the L flaps rotate accordingly, and vice versa.
read 404 times
4/24/2016 7:07:52 PM (last edit: 4/24/2016 7:07:52 PM)
show user profile  zzero101
Yes, something like that I think, what did you mean " Input that when the x-axis goes -1 the L flaps rotate accordingly, and vice versa." - which x axis- that of the plane body or the joystick? Does your method still work along a path constraint - I can do it manually but I want it to react to the rotation caused by the banking. Plus - where your flaps work, I have the flaps themselves as masters for subsequent reactions, and its those reactions that break when I add the extra layer.
read 402 times
4/24/2016 7:30:02 PM (last edit: 4/24/2016 7:31:15 PM)
show user profile  herfst1
I get what you want. I don't get why, though. If you want to make an animation, just key frame those rotations in; two seconds work. If you're making a game... then this won't work without some voodoo.

So anyway... yes, my rig works with a path constraint. I didn't bother adding the bank functionality, in fact, I never even finished doing anything with this model. Can't help you further.
read 396 times
4/24/2016 8:25:22 PM (last edit: 4/24/2016 8:25:56 PM)
show user profile  zzero101
I want it so that it reacts to any path you give it without keyframing. Any one path could be complex with many curves and adjustments = lots of keyframes, so not 2 seconds work.
Can anyone help?
read 388 times
4/24/2016 10:00:48 PM (last edit: 4/24/2016 10:00:48 PM)
show user profile  herfst1
Okay, 10 minutes work. Or 1 hour's work. Either way, it will be faster than working out this problem.

If you break it down: you're asking a model to travel along a spline and follow the curves + know what degree to bank (while also losing the ability to do a barrel roll, if you felt like it), then based on that amount of bank, work out what degree of flap rotation to apply.

I'm not saying it can't be done but... that's not an easy task to set up.
read 387 times
4/24/2016 10:05:16 PM (last edit: 4/24/2016 10:05:16 PM)
show user profile  herfst1
You should have used craft manager, could have flown it real time, in first person, or 3rd person.
read 386 times
4/24/2016 10:07:54 PM (last edit: 4/24/2016 10:08:38 PM)
show user profile  zzero101
I like solving the problems I come up against, it always leads to a greater knowledge base, and I have come across this particular, or similar problems before, in max and others, so solving it would help in other situations too.
I think one way is to have a parented dummy which does not inherit rotation, and compare it's orientation to the master, take the difference and use that on a (more or less) linear relationship to drive the rotation, but I cant work out how to return that data.
BTW - I don't think follwing a path does rule out barrel rolls (not that I want them) - you can use the 'Allow upside down' mode, and increase / animate the banking amount, or build it into your path.
read 382 times
4/24/2016 11:09:40 PM (last edit: 4/24/2016 11:09:40 PM)
#Maxforums IRC
Open chat window