inflearn logo
inflearn logo

Unity VR that can be used for a long time

This is an introductory VR development course that teaches you how to connect VR equipment and develop VR content using Unity. Since the marketability and prospects of VR can already be found in many contents, we have not covered them and have only extracted the core elements needed for actual development. If you want to learn how to develop VR in an easy and fast way that you can use for a long time, come here!

(4.9) 43 reviews

688 learners

Level Basic

Course period Unlimited

VR/AR
VR/AR
Unity
Unity
Unity VR
Unity VR
VR/AR
VR/AR
Unity
Unity
Unity VR
Unity VR
ominseok님의 프로필 이미지

XR Interaction Toolkit 2.0.1 Version Announcement

 

With the update of XR Interaction Toolkit to 2.0.1, the XRI Default Input Actions have changed.

As for teleportation, primartButton was set by default and I used that, but that part has been removed.

There are two parts of the lecture where teleportation is used.
Section 3-5-2. Teleportation Basic and Section 2-7. Teleportation . If you want to proceed in the same way as the video, you can manually add a Button action and connect it. Please set the action by following the steps below.

 

0. If you are using the existing XR IT 2.0.0 and want to follow along, update to 2.0.1 in Package Manager, delete the existing samples, and re-import the updated samples. If you follow along now, it will be installed automatically as version 2.0.1.

 

 

1. Double-click the newly updated 2.0.1 version XRI Default Input Actions asset to open its settings window.

 

2. You can add one binding directly by looking at the screenshot below, or press Ctrl+C to paste the code below, then right-click in the Actions tab in the settings window below and paste to add one Teleport Select (Button) action, and save it.
(Name doesn't matter)

 

INPUTASSET ActionTreeItem {"m_Name":"Teleport Select (Button)","m_Type":1,"m_ExpectedControlType":"Button","m_Id":"28ecac93-4109-4841-bf97-5c4b ef1e1f83","m_Processors":"","m_Interactions":"","m_SingletonActionBindings":[],"m_Flags":0} BindingTreeItem {"m_Name":"","m_Id":"3bbd2cd5-17c1-43f7-a7ff-72ff772d2a1e","m_Path":" {LeftHand}/primaryButton","m_Interactions":"","m_Processors":"","m_Groups":"","m_Action":"Teleport Select (Button)","m_Flags":0}

 

 

3. Connect the XRI LeftHand Locomotion/Teleport Select (Button) action you just created to the Select Action of the XR Controller on which you want to use the teleportation function.

 

If you set it in the above order, teleportation can be done with the B key as in practice, and Snap Turn works by manipulating the stick as before.

thank you

Comment 3
    yoondoori2721933님의 프로필 이미지

    Ah, I just stopped doing it because of the righthand problem, but thanks to Baek Gyu-hyeok, I learned it. Thank you.
    ominseok님의 프로필 이미지
    ominseok
    지식공유자

    Yes. If you find it difficult to set up Input Action, you can learn by referring to the link below. https://docs.unity3d.com/Packages/com.unity.inputsystem@1.3/manual/Actions.html
    wawoory210555님의 프로필 이미지

    Thank you for the great tip! Since you used RightHand in the lecture, if you apply the attached code to RightHand as it is, it will not work! If you have the same problem as me, if you want to use the code as it is, paste it into LeftHand Action or change {LeftHand} to {RightHand} in the code and apply it to RightHand, it will work properly.

$38.50