View Full Version : How to get IK rotation data from Lscript
jnjcre8
04-07-2003, 12:02 PM
Is it possible to modify bone information that is being controlled by IK? And
if it is what object agents should I be looking into?
And if you have any bumps I am going to run into please warn me if you can.
I am new at Lscript and I am coding on a mac also.
Thanks
Jose Fonseca
faulknermano
04-08-2003, 11:54 AM
hi jose,
your subject is different from your question. :D
you can get IK data from bones through lscript through the item motion (motion modifier) lscript architecture, by adding this to your script:
flags
{
return(AFTERIK):
}
so whenever you try to get the rotation:
...
a = myObject.getRotation(Scene.currenttime);
...
it will get the IK rotations (not the keyframed ones).
regarding your question (not your subejct)... i dont think you can modifiy IK data once it has become controlled by IK. but i cant be totally 100% sure about that. never tried it. :)
jnjcre8
04-08-2003, 11:14 PM
Hey, Lernie thanks alot for the reply. I also asked in the yahoogroup and no one replied to it.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.