Unity-VRTK learning diary 1 (VRTK4|No helmet development simulator SpatialSimulator)

Table of contents

foreword

Preparation

1. Configure VRTK4:

2. Install several plug-ins

Check which VRTK plugins you have installed

 3. Add simulator

operation method

Operation method: human words


foreword

The older version of VRTK does not work with the new version of Unity, the reason seems to be that Unity merged the VR development function into its own XR. It is the XR interaction tookit that was updated before.

Preparation

My version: 2021.3.21LTS

1. Configure VRTK4:

[Unity] VRTK_v4 User Guide (Configuration)

2. Install several plug-ins

trackedalias, xrpluginframework (newer than unity xr, use this), spatialsimulator

(tracking camera and handle), (VR camera settings), (simulated VR operation)

Check which VRTK plugins you have installed

Open the folder where the package is located

Go to the packages folder

Click manifest. json file

A few of io....tilla

 3. Add simulator

Tilia.CameraRigs.SpatialSimulator.Unity/Documentation/HowToGuides/AddingASpatialSimulatorCameraRig at master · ExtendRealityLtd/Tilia.CameraRigs.SpatialSimulator.Unity · GitHub

 add emulator

run the program

operation method

 Operation method: human words

Operation Preface

Components: Body, Left Hand, Right Hand
 

(1) The body moves, and the left and right hands move together.

(2) Manually move left and right without moving the body.

(3) Only one of the left and right hands can move

(4) The left and right hands move forward in the direction they are pointing

hardware explanation

wsad: Move components back and forth, left and right

Mouse: rotate around the xyz axis

Number 1: The body is movable, and the left and right hands are locked.

Number 2: The left hand is movable, and the body and right hand are locked.

Number 3: The right hand is movable, and the body and left hand are locked.

Number 4: Body Reset

Number 5: left and right hand reset
Number 6: show/hide mouse

Operation example:

Example 1: Going forward with the left hand

Number 2+w (enable left hand + forward)


Example 2: Right hand moves forward

Number 3 + slide the mouse to the right + w


Example 3: Right hand backwards

Number 3 + horizontal sliding mouse

Guess you like

Origin blog.csdn.net/weixin_56537692/article/details/130427464