Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 /
avatar image
0
Question by DaveA · Jul 21, 2011 at 12:02 AM · ikinverse kinematicgesture

Is there something like HeadLook but for hands?

I'm wondering if anyone knows of an existing script or extension which would do something like what HeadLook does, but for hands? Like I want to tell my character to 'point at this thing' and have it figure the IK to do that, smoothly. Could the Head Look Controller be modified to do that? (Obviously I'm no IK expert). Thanks.

Comment
Add comment · Show 8
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
avatar image Jaywalker · Jul 21, 2011 at 10:12 AM 0
Share

(my answer wasn't really an answer so i removed it!)

Hey,

I'm not aware of a I$$anonymous$$ script with that function, But you could probably just rotate the shoulder to the disired direction and then lag the elbow joint behind that (within natural limits of course)

You'll probably want to start with the root of the character though as you'll want to turn him around before making him point behind him.

If you want to go more fancy you could take the spine into account making him twist his body.

You could also start with the hips but then you'll need I$$anonymous$$ controllers on the legs and that will make things a lot more complex. Probably you best off animating steps around while rotating the character controller.

Good luck!

avatar image Jaywalker · Jul 21, 2011 at 10:12 AM 0
Share

Thanks. The Head Look script does something like that, in that you can tell it which bones to affect and which ones not. I figured I would get a 'usable range' for each arm, pick the closest arm if either is in that range, and just point. Otherwise, turn the character until an arm is in range and then point. I'm just not sure on all that math. Always easier to find an example before climbing that learning curve.

avatar image Jaywalker · Jul 21, 2011 at 10:12 AM 0
Share

But this did not work with the headlookcontroller on the wiki? I've no experience with it but it looks like it may be possible with it. not for both arms of course but maybe you could set it up from the spine to the shoulder and work from there?

avatar image DaveA · Jul 21, 2011 at 07:19 PM 0
Share

That's what I was thinking. The head look controller rotates the head so the face looks at a point. Would that be like the elbow in my case, so that the forearm 'looks' at the target?

avatar image Jaywalker · Jul 21, 2011 at 08:40 PM 0
Share

Yeah! that could work, Although I'd start with a test on the shoulder ins$$anonymous$$d of the elbow as the shoulder is the joint that probably points the most. you mainly just stretch your elbow and then point by rotating your shoulder spine and hips.

Show more comments

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Catching ball using a humanoid model in unity? 0 Answers

Inverse Kinematics for non-humanoids 0 Answers

TWO BONE IK in unity 0 Answers

How can I animate an avatar using only joint position data and inverse kinematics? (No rotation data) 0 Answers

Left Hand IK target is slower than the right 0 Answers


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