[Closed] animate line with its vertex?
$.modifiers[1].createHelper 4
will make 4 controls.
Lookup Spline_IK_Control in the manual it’s near the bottom of the page.
-Johan
thanks johan, I hadn’t checked the help, just probed the mod for properties
thanks for reply
but I am a newer , have no idea about the spline_ik controller , I read the help but seems got nothing more
when I move one point manually in max viewport , why the other points will follow moving?
can there any methods let them independed
I assume you using the splineIk modifier.
You have to set the “Link Types” option to “no linking”.
Then the nulls won’t be parented.
-Johan
thanks , JHN
when a problem solved , always there is another question appeared , just like life
then here I meet another problem
if I have created 10 points with the createhelper function , how can use for loops to select the points and update their postion from a dat file , and also I like to make an animation with the position change
I think the “read data value” question is being answered in another thread, right?
About getting the points you can use the #helper_list property of the modifier
getProperty $.modifiers[1] #helper_list
Assuming modifiers[1] is the modifier. If you create a modifier in script you could also directly call the getProperty on the modifier like
getProperty theSplineIKMod #helper_list
Provided theSplineIKMod is the variable pointing to the modifier.
It will return an array of helpers, which you can use to apply the data to.
-Johan
uh , thanks JHN
although I did not catch all what you said, but can get something useful
maybe I should post a newthread to talk about the spline IK control