Search Unity

VR body

Discussion in 'VR' started by ClaudiaKrog, Oct 11, 2018.

  1. ClaudiaKrog

    ClaudiaKrog

    Joined:
    Sep 30, 2017
    Posts:
    47
    How can I make a first person body for VR?

    All I need is a body in idle position that the user can look down at in first person while in VR (no inputs, or movement). Can I attach the character for the body to the camera rig camera?

    Thanks!
    Claudia
     
  2. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    Almost. The camera also rotates as the player looks up/down/left/right, and you don't want the body moving when they do that.

    So, put it next to the camera, in whatever object is the camera's parent. That's the object that represents the player, and moves only when the player moves (via teleporting or whatever other system you build in, if any). And that's where you put things that should be attached to the camera position, such as the player avatar, UI canvases, etc.
     
    Jaredore likes this.
  3. Corysia

    Corysia

    Joined:
    Mar 14, 2018
    Posts:
    108
    If you'd like to go further with it, I came across this tutorial a while back. You will need Final IK, if I remember right.

     
    ClaudiaKrog and JoeStrout like this.
  4. ClaudiaKrog

    ClaudiaKrog

    Joined:
    Sep 30, 2017
    Posts:
    47
    Thank you!
     
    Corysia likes this.