Jump to content

  • Log In with Google      Sign In   
  • Create Account


[Unity3D] Foot placement for Quadruped


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 Navezof   Members   -  Reputation: 1079

Like
0Likes
Like

Posted 10 August 2013 - 06:39 AM

Hello,

I'm working on this little creature creature animated with Mecanim for a study project.

animate1.PNG

I would like this creature to take into account the terrain's relief when moving. It is similar to the Locomotion System, but this one is not compatible with Mecanim. So I'm trying to make my own primitive system.

I first work on a bipede, with it had some kind of result (far from perfect, but it was a start)

characterFoot.PNG

But on a quadrupede this is a different story

I had to freeze the rotation in x of my model (by adding a constraint on the rigid body). Without it, my model was sent flying all over the place whenever it moved on a hill from the wrong angle. (true story!)

And because of the constraint my model is still straight on a slope (like, "yeah I have powerful abs, deal with it!"). To resolve this matter, I thought about modifying the spine of the character to make it always at the same distance from the ground.

Another solution would be to make the rotation myself, by calculating the distance from the hip to the ground, and making an according rotation.

That's it. I'm stuck on this problem, and if anybody has an advice, a word, anything that can help me, I will be extremely grateful.

Thanks for reading this message and I whish you a pleasant day.

DudeImaFlying!.PNGDude! Ima flying!

Ps : I already posted this message (or close enough) on the Unity3D forum, english and french. I hope nobody will take offense ^^'



Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS