Search Unity

Question create poses for characters in virtual reality

Discussion in 'VR' started by ConanBlade94, Sep 13, 2021.

  1. ConanBlade94

    ConanBlade94

    Joined:
    Sep 22, 2017
    Posts:
    11
    Hi everyone my name is michele and I would like to create a very nice thing. Basically I would like to make sure to manipulate, for example, the character's arm or the head. Can someone help me?

    Example
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    In that video they have just drawn a little circle on each joint (bone) in the model rig. And then when you grab one, they apply any rotation to your own hand to that joint.

    Nothing very complicated here, but of course depending on your skill level you may need to learn some basics first, then come back with some more specific questions.
     
  3. ConanBlade94

    ConanBlade94

    Joined:
    Sep 22, 2017
    Posts:
    11
    I contacted the creator and he told me that he added the grabbable script plus joint helper and a capsule collider to the bones, I tried and it works but I would like these scripts to hook to all the bones automatically through a tool written in c # where for example you take a character, drag it into the tool and scripts are generated in the bones, can it be done?
     
  4. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Yes. You can call GameObject.AddComponent both in the editor and at runtime.