Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Megisto on May 03, 2012, 06:54:41 PM
-
I know how script an algorithm for a 3d inverse kinematic is a tough task, but in my research i've seen that a 2d inverse kinematic should be much more easy.
I found an explanation http://freespace.virgin.net/hugo.elias/models/m_ik.htm (http://freespace.virgin.net/hugo.elias/models/m_ik.htm).
For the game i have in mind i'd just need the bones to rotate only on one axes. Do you think it will be difficult to implement it in Playmaker?
I guess the action should have parameters like:
Axes of rotation.
Number of Joints elements (GameObjects).
Goal Object.
FK to IK (float)
Stiffness.
...
Can u point me to the right direction?
-
Maybe... but to be honest this is the kind of thing better implemented as an action. Or just a regular script running on the object, controlled by Playmaker. I would check on the Unity forums/wiki to see if someones already written this script. Then you can control it in Playmaker using Set Property, Send Message etc.