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

Featured Threads
  inspiration alert!!!
(36 replies)
  Indespensible MaxScripts, Plugins and 3rd Party Tools
(37 replies)
  The allmighty FREE Resources Thread !
(17 replies)
  spam alert!!!
(4886 replies)
  Maxforums member photo gallery index
(114 replies)
  Maxforums Member Tutorials
(89 replies)
  three cheers to maxforums...
(240 replies)
  101 Things you didnt know in Max...
(198 replies)
  A Face tutorial from MDB101 :D
(95 replies) Members Gallery
(516 replies)
(637 replies)
  Dub's Maxscript Tutorial Index
(119 replies)

Maxunderground news unavailable

MaxScript question: Use a CA to control objects looking at the CA owner?
show user profile  kmackey
Say I have a group of scene nodes ($Look1, $Look2, etc.), which all use LookAt constraints for their rotation controllers. All of them use as a target another specific scene node ($Target).

I am using a custom attribute to put a slider control on $Target. I want to set it up so that the target weight on $Look1, $Look2, etc. for $Target is controlled by that slider. In other words, when the slider is at maximum, they will all point directly at $Target, and when the slider is all the way down, they will ignore it.

The problem comes in when I try to add the "Look" objects to $Target's CA as a nodeTab.

"append $Target.nodetab $Look1" for example, returns "Runtime error: MAXPB2ArrayParam append failed due to dependency loop"

I'm a little confused by this. I can see why $Look1 would be dependent on $Target, but in what way is $Target considered dependent on $Look1? At any rate, what is the appropriate solution for this?
read 295 times
8/4/2014 6:15:54 AM (last edit: 8/4/2014 6:15:54 AM)
#Maxforums IRC
Open chat window