本文介绍了是否有任何开放源代码AS3反向运动学库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要寻找一个开源IK库AS3线索。

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

我的项目涉及简单的 2D 肢体肩/肘/腕关节。

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

如果我无法找到任何东西我会尝试写一个,虽然我的数学是不是附近的任何地方能够胜任工作。

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.

任何线索,以现有的库和/或相应的源材料将AP preciated!

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

推荐答案

您可以创建与余弦定理反向运动的解决方案: http://en.wikipedia.org/wiki/Cosine_formula

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

这是AS3的实施可以在这里找到: http://www.kynd.info/library/mathandphysics/inverseKinematics_01/

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

此创建一个通用的IK-类不应该是硬

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

这篇关于是否有任何开放源代码AS3反向运动学库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-11 03:46