开发者

Are there any Open Source AS3 inverse kinematics libraries? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Improve this question

I am looking for leads on an Open Source IK library for AS3.

My project involves simple 2D limbs with shoulder/elbow/wrist joints.

开发者_Go百科

If I am unable to find anything I am going to try and write one, although my math is not anywhere near up to the task.

Any leads to existing libraries and/or appropriate source material would be appreciated!


You could create an Inverse Kinematics solution with the Law of Cosines: http://en.wikipedia.org/wiki/Cosine_formula

An AS3 implementation can be found here: http://www.kynd.info/library/mathandphysics/inverseKinematics_01/

Creating a generic IK-class from this shouldn't be to hard


For ragdolls I would try box2d:

box2dflash.sourceforge.net/


Well, there's the IK library that comes with Flash Professional, but it tied to the Bone Tool in the IDE. You can't create bones from scratch in actionscript, you need to assign them in the IDE and access them from code later.

About 3 years ago I played with IK and made a very basic animation tool for my coursework called Flanimator

Are there any Open Source AS3 inverse kinematics libraries? [closed]

I wrote that using what I've learned from Keith Peters' Foundation Actionscript 3.0 Animation: Making Things Move! book, which I recommend. Chapters 13 and 14 are on IK and FK. The code is available on the site.

I haven't come across a nice as3 IK library, but that would be handy.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜