playMaker

Author Topic: A 2d inverse kinematic?  (Read 2668 times)

Megisto

  • Playmaker Newbie
  • *
  • Posts: 28
A 2d inverse kinematic?
« 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.

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?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: A 2d inverse kinematic?
« Reply #1 on: May 04, 2012, 08:52:00 PM »
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.