Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
3.7k views
in Technique[技术] by (71.8m points)

c# - Using inverse Kinematics, how would I animate between movements?

So I was watching the example in the link below and have nearly recreated it. The only part I am struggling with is the lifting of the leg between movements! Any ideas on how I could recreate this? Im stuck between either using animations between movements or just coding in the leg lifting between points! Thankyou, any help would be appreciated.

https://www.youtube.com/watch?v=e6Gjhr1IP6w&ab_channel=Codeer


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

If you are using inverse kinematics, you can let the "foot" folow an imaginary path you code to move from the start position to the target position. The path can move directly from A to B, with some added height along it, based on the distance to the target.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...