How to teleport using XRDeviceSimulator in XR Interaction Tool 3.0.7

Hello, XR is a new area for me. I don’t have VR device yet so I’m using XRDeviceSimulator.
I’m using DemoScene from the 3.0.7/Starter Assets.
Almost everything works as expected. I can move myself. I can rotate manipulators. I can grab and hit the objects, etc…
The only problem for me is a teleport. What should I do with mouse/keybaord to teleport to the Teleport Area or Teleport Anchor ?
When I hit the Play button “Left/Right Controller/Teleport Interactor” become diabled. If I enabl it in the Hierarchy then I see the teleporation ray and the target as expected but what to do to teleport?
Thank you.

Hi,
When using a real VR headset, teleportation is done by pushing the joystick forward and releasing it. The joystick correspond to ‘Primary 2D Axis’.

  • Select the controller to control using ‘Tab’ (left or right hand).
  • You can toggle on/off the control of the primary axis by pressing your ‘1’ key. There is no UI feedback!
  • Hold ‘W’ to move the joystick forward, you should see the teleportation ray.
  • Move the mouse to choose the teleportation position
  • Release ‘W’.

If you need to know other bindings that aren’t displayed in the UI, have a look at the Input Actions in the XR Device Simulator component :wink:

Thanks Pitou22,
in my case teleportatin happens with the Left Mouse Click (not releasing W).

Could you tell how to grab and throw an “XR Grab Interactable” using keyboard/mouse?
3.0.7 scene contains 6 interactables. I can grab (with G key) only thouse objects which have Movement Type “Instantaneous”. The object remains in the air when I release the G key. How can I throw the object?
Objects with other Movement Types (Kinematic and Velocity Tracking) can’t be picked at all. What the trick to grab them?

I tested and I am able to grab all the 6 interactables with the G key.

I can’t really “throw” them (release with a force forward), but when I release them, they fall on the ground. None of them stay in the air as you describe.

Be sure to not have modified the package and sample files. Look in the console if you have exception, that could explain why some objects won’t be grabbed.
I use Unity 6000.0.28f1 and XRI 3.0.7.

Yep, the problem was with my DOTS-subscene experiments.
After reimporting the assets eveything works and I even can slightly throw an object :slight_smile:

1 Like