Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Feb 15, 2015 at 09:45 AM by meat5000 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by APProjects · Feb 07, 2015 at 10:51 AM · rigidbodyhingejointinverse kinematic

Clueless about rigidbody based legs...

Hello everyone!

I would like to make a physics based walker. Simple concept, legs would affect the upper body of this four legged thing. With hinge joints, it works, kinda stable with big, wide feet. The problem is that how should I move the legs? I tried using hinge joint's motor, but I have no idea, how should I have more control over it. It would be good if I could animate it.

I also thought about using just a foot that's somehow remotely connected to a body and there would be the leg between them somehow with inverse kinematic. The leg would be controlled by the rigidbody foot, the leg itself would not be physics driven. But it's again, theoretical, and I don't know, how should I animate the foot's movement path and how it could push up the whole body.

alt text

They are all hinge jointed

alt text

IK foot

Things like instability and control are not important now. Just I can't figure out, how should I move the legs in a specific way that works with physics right.

unstablethingthatcantwalk.png (49.8 kB)
ik.png (10.5 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

  • Sort: 
avatar image
1
Best Answer

Answer by APProjects · Feb 15, 2015 at 09:41 AM

I got it! I use spring and limits. Spring is around 500-2000, damping set to pretty low (1-30). I programmed the target positions with a script. And my walker can walk, it has joints for the feet too. It's not the most stable thing, but it works well.


Elephant


elephantjoints.png (72.7 kB)
Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Accurate weighing scales using hinge joints and rigid bodies 0 Answers

How to use character controller to push down hinge joint properly 1 Answer

How can i change HingeJoint's axis from code? 0 Answers

Train with iTweenPath and HingeJoints Problem 0 Answers

How to limit the motion direction of a GameObject? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges