VR Climbable - RosoVRgarden/VRgarden-tutorials GitHub Wiki

VRgarden tutorials: climbable

  1. To make a climbable object (a wall, a ladder or your own) is rather easy but requires many steps. First, make sure that both of your hands have an XR Direct Interactor so you are able to climb with both hands. Then, check the templates in the Assets>Samples>XR Interaction Toolkit > [version] > Starters Assets > Prefabs > Climb for an example. Drag the Ladder Prefab into the RosoVR scene to test.
  1. The ladder is organised of 5 parts, the left side, the right side, the handles and the top handle. It’s important that every parts can be accessed individually and are organised in groups of parents / children.
  1. The Handles (Climbable) is the parent that contains all the handles. On this object, you will add the Climb Interactable componenent. Only the Y movement is allowed and the collider is set yo volume. Finally, drag the XR Interaction Manager from the hierarchy to the Interaction Manager space
  1. For every handles, make sure that you add a capsule collider (and remove the mesh collider if there is one already).
  1. In the XR Origin of your project, create an empty game object and add the Climb Provider component that allows every movement direction (x,y,z).
  1. For a ladder, it’s important to extend it as a separate object (the top handle) so the user can move away from it. It doesn’t look very good but it is important for the correct use of VR. Also, you will need to activate the climb settings override on this particular area to allow Y movement (going up/down) but also the Z movement so the user can move back and forward and move onto a platform, for example.
  1. Designing the VR ladder. Although the ladder seems to only fulfil a technical requirement, there are existing design that might be interesting to copy. This is one is from the TV series Hannibal (2013-2015).