我如何对蜘蛛的行走动作进行编程?
我正在编写一个应该有真实运动的蜘蛛。目前我正在使用这个网站作为腿部应该如何移动的参考,但我不确定如何实现它。
http://www.mechanicalspider.com/comparison.html
我知道有些点发生了变化在分配给 x 或 y 值的正弦波运动中以及围绕固定点旋转的运动很简单,但我不明白底部的两个“脚”点如何相对于其他点移动。我在这里寻找的并不是代码,而是如何将其转换为代码的解释。
如果我说得不够清楚,请随时询问,谢谢。顺便说一句,我正在处理中构建这个。
I'm programming a spider that should have realistic movement. Currently I'm using this site as reference for how the legs should move, but I'm unsure how to implement it.
http://www.mechanicalspider.com/comparison.html
I know that some of the points move in a sine wave motion assigned to an x or y value and the ones that rotate around a fixed point are straightforward, but I don't understand how the bottom two 'feet' points move in relation to the other points. I'm not looking for code here so much as an explanation of how this could be turned into code.
Don't hesitate to ask if I haven't been clear enough, thanks. I'm building this in Processing by the way.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以阅读有关逆运动学的内容。
You may read about inverse kinematics.