Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Using Daydream Elements Arm Models with Third Person Character/Mecanim

Discussion in 'Daydream' started by HeyBishop, Nov 11, 2017.

  1. HeyBishop

    HeyBishop

    Joined:
    Jun 22, 2017
    Posts:
    238
    I've been working on an adventure game, in which I have a weapon that can be equipped to be welded by my GvrControllerPointer. I also have an avatar character that uses animations from the Unity Standard Assets, so I can walk/run/turn and see my body and feet move.

    Now, I want to put the two together, and I'm not sure where to start. I want the arm of the character model to move and be controlled by my GvrControllerPointer, just like the Daydream Elements swing arm.

    Any advice would be greatly appreciated.





     

    Attached Files:

  2. dsternfeld

    dsternfeld

    Official Google Employee

    Joined:
    Jan 3, 2017
    Posts:
    72
    HeyBishop likes this.
  3. HeyBishop

    HeyBishop

    Joined:
    Jun 22, 2017
    Posts:
    238
    Thanks!
    I think this will do the trick!

    I'll report back later.
     
  4. HeyBishop

    HeyBishop

    Joined:
    Jun 22, 2017
    Posts:
    238
    I've been playing around with Inverse Kinematics, and have learned a great deal. (Now all of my NPC character turn to look at me when I approach them - which is pretty cool!)

    As for my sword wielding arm, I'm close. However, the shoulder and elbow don't move naturally like they do with the Elements Swing Arm example. In other words, the arm doesn't bend. Below is a link to a video demonstrating my issue.

    Any more advise would be appreciated!

     
    Last edited: Nov 16, 2017
  5. kbabilinski

    kbabilinski

    Joined:
    Jul 12, 2012
    Posts:
    19
    lightwaterjohn likes this.
  6. Matt_D_work

    Matt_D_work

    Unity Technologies

    Joined:
    Nov 30, 2016
    Posts:
    202
    also, the latest version of the TPD has 3Dof arm models which are based on the daydream ones :) which will hopefully make this a lot easier to do crossplatform :)
     
    ROBYER1 likes this.
  7. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,450
    Did you end up using anything like Final IK in the end? I am fine setting up the upper body tracking but having the feet follow is difficult!
     
  8. HeyBishop

    HeyBishop

    Joined:
    Jun 22, 2017
    Posts:
    238
    I'm afraid I haven't! I've been focusing on other things lately.