adib
08-19-2008, 04:53 AM
Hi friends I have problem with constraining object orientation with 2 or more target at the same time, like the one we have for position in XSI (Constrain to 2 Points or 3 or more)
I have a scene that I try to make feather simulation there I wrote script that make feathers between three base feather (like birds tail) I make constrain orientation for middle feathers ( between base feathers) based on angle I assign blend weight for constrains orientation between them, when I open and close the tail there is no problem and everything is OK (video (http://www.vimeo.com/1556810)) but when I rotate the root on for example X axis the middle created feathers doesn't rotate exactly as the bases and they got offset in rotation angles.(video (http://www.vimeo.com/1556827))
in 3ds max with the same formula used in script and same work flow there is no problem and every thing working well because in 3ds max I can easily constrain object rotation to multiple targets.
I also tried SIApplyConstrain command that work with constraining collection but it only constrain collection to first object in collection.
any one can help me to do the same I did in 3ds max in XSI.
I attach the script and the scene (http://rapidshare.com/files/138431530/Feather_Scenes_and_Script.rar.html) with this post.
thank you all.
I have a scene that I try to make feather simulation there I wrote script that make feathers between three base feather (like birds tail) I make constrain orientation for middle feathers ( between base feathers) based on angle I assign blend weight for constrains orientation between them, when I open and close the tail there is no problem and everything is OK (video (http://www.vimeo.com/1556810)) but when I rotate the root on for example X axis the middle created feathers doesn't rotate exactly as the bases and they got offset in rotation angles.(video (http://www.vimeo.com/1556827))
in 3ds max with the same formula used in script and same work flow there is no problem and every thing working well because in 3ds max I can easily constrain object rotation to multiple targets.
I also tried SIApplyConstrain command that work with constraining collection but it only constrain collection to first object in collection.
any one can help me to do the same I did in 3ds max in XSI.
I attach the script and the scene (http://rapidshare.com/files/138431530/Feather_Scenes_and_Script.rar.html) with this post.
thank you all.