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 post has been wikified, any user with enough reputation can edit it.
avatar image
0
Question by elixir-bash · Aug 07, 2012 at 01:16 PM · androidcameraiosaccelerometer3dmodel

how to hang a 3d model hanging seamlessly from a camera

Hey guys.. I need to brainstorm ideas reagrding hanging a 3d model from the tree branch.There is a camera attached to the branch.From camera perspective the object looks like it is clutched to the camera. Im making use of accelerometer and as i shake the mobile device the 3d model must react in a way where it must look like a how the response will be when a real human hangs from a branch and when the branch is shook.

Test case:

1)i tried making the 3d model a child object to the tree branch to which the camera is attached . this doesnt make the output look real .

2)i then thought of making using of lookAt function,but how will i control the foot and leg movement to look seamlessly..

Please clarify with me if you think im not clear enuf..

EDIT: something similar to this video http://www.youtube.com/watch?v=TlQVdWIBdHA

Thank you guys

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 Anne_Marije · Aug 14, 2012 at 07:04 AM 0
Share

$$anonymous$$aybe you will get a better answer if you add a picture/sketch showing what you mean. I don't think I know the exact answer on your question(so far I understand it), but you probably want to take a look at the different Joint classes(http://docs.unity3d.com/Documentation/ScriptReference/Joint.html) I think you might be able to use those to get the more "natural" movement.

avatar image ramkumarm · Aug 14, 2012 at 07:22 AM 0
Share

Hi how will you control the foot and leg movement to look seamlessly?

avatar image Anne_Marije ramkumarm · Aug 14, 2012 at 12:03 PM 1
Share

As the other person said, that is not an answer. The area you are using to reply is not meant for questions but answers. If you want to ask a question, make your own don't hijack someone else's.

avatar image elixir-bash · Aug 14, 2012 at 07:27 AM 0
Share

hey anne , i got to see a video similar to what i need,.. this is way too good.

http://www.youtube.com/watch?v=TlQVdWIBdHA Please use this as an reference to what i need

avatar image Anne_Marije · Aug 14, 2012 at 12:01 PM 0
Share

Okay that's a lot clearer. I would say you can achieve that effect by connecting your character to the camera with some kind of joint. Because joints work with the physics engine making it look natural will depend on the implementation of the joints and on the physics values like gravity. You'll just have to play with those I think, there isn't really a clear-cut answer.

avatar image elixir-bash · Aug 16, 2012 at 06:05 AM 0
Share

Thanks anne, let me give it a shot ,making use of joint

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
-1

Answer by Sundar · Aug 07, 2012 at 04:45 PM

Have camera child of 3d object which in turn a child of tree branch.

Tree - 3d object - camera

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
avatar image elixir-bash · Aug 09, 2012 at 05:33 AM 0
Share

well i hope you dint understand what i was asking for.

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

11 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

Related Questions

Accelerometer axis differences on Android and iOS? 1 Answer

Accelerometer - accounting for gravity for arbitrary device angle 1 Answer

Constant Input.Accelerometer Updater for Mobile? 0 Answers

How do I access CoreMotion and the Android equivalent? 0 Answers

Phone camera autofocus 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