Jump to content
  • Advertisement
Sign in to follow this  
matpatnik

MAXScript problem!

This topic is 4874 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm stuck in the tutorial of 3ds max 5 at caracter rigging (spine) section. I try to get the length of the spline path and can't get it. They say: -Open the MAXScript Listener window. -Type curveLength $splineIKSpineCurve and then press the ENTER key on the numeric keypad. This executes the command. A number will be returned. This number is the length of the curve path. But when I fallow the instruction MAX say: --No ""curveLength"" funtion for undefined each time :/ Thank you for your help MPN

Share this post


Link to post
Share on other sites
Advertisement
It doesn't know what "$splineIKSpineCurve" is, so it considers the value to be "undefined".

$ refers to the currently selected object.

If a spine bone has the property "splineIKSpineCurve" and you have thet bone selected while you run the script then "$.splineIKSpineCurve" might work as a parameter to the curveLength function. But without the dot, it is gibberish.

I don't have max on this machine, so I can only give you educated guesses.

Share this post


Link to post
Share on other sites
I didn't name the spline properly (I'm still learning how the whole thing work lol)

curveLength $SplineIKNode01
48.8093

Thank you anyway

MPN

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!