We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
您可以使用余弦定律创建逆运动学解决方案:
http://en.wikipedia.org/wiki/Cosine_formula
可以在此处找到 AS3 实现:
一个
创建 通用 IK 级应该不难
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
对于布娃娃,我会尝试 box2d:
box2dflash.sourceforge.net/
For ragdolls I would try box2d:
box2dflash.sourceforge.net/
嗯,有 IK 库 随 Flash Professional 一起提供,但它与 IDE 中的 Bone Tool 绑定。您无法在 ActionScript 中从头开始创建骨骼,您需要在 IDE 中分配它们并稍后从代码中访问它们。
大约 3 年前,我使用 IK 为我的课程制作了一个非常基本的动画工具,名为 Flanimator
我用从 Keith Peters 那里学到的知识写了这篇文章 Foundation Actionscript 3.0 Animation: Making Things Move! 书,我推荐。第 13 章和第 14 章介绍 IK 和 FK。该代码可在网站上找到。
我还没有遇到过一个很好的 as3 IK 库,但这会很方便。
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
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.