Announcement

Collapse
No announcement yet.

Need help getting objects to follow my VR_pawn

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [VIVE] Need help getting objects to follow my VR_pawn

    i created two box colliders and on overlap with my motion controllers if ammo is not full then reload my guns.

    So heres my problem, i just realized those boxes dont follow my player as i walk around the room. And i cant attach them to the camera directly or they would always be in a diff location when the user wants to reload,i even tried to lock down rotation which it didnt respect.

    Anyone have an idea for a solution?

    I was thinking of writing a script to get the cameras location and then try to re-position my collider based on that location with an offset. Would this work? Can anyone give me a head start in that direction if so?

    #2
    Nevermind everyone, looks like i figured out the camera location and appears to be working for me just fine.
    Last edited by JayKavanagh; 06-05-2016, 09:15 PM.

    Comment

    Working...
    X