Jump to content

How to teleport while having an object


Recommended Posts

Hi,

I am using the teleport script of the VIU to move around in my scene. I can also grab objects with the BasicGrabbable script. But once I have an item grabbed and teleport, I automaticially drop the object. Is there a way in the VIU scripts to combine both, teleporting and grabbing an item?

Id be very thankful for any answers.

Link to comment
Share on other sites

 Could you try using ViveCameraRig, ViveCollider and ViveCurvePointers prefabs?

For ViveRig prefab uses ControllerManagerSample.cs which will such behavior that you mentioned.

When you try to teleport, it will disable the Grabber gameobject which will release the object you grabbed.

Either you need to modify the ControllerManagerSample.cs to your custom behavior or replace ViveRig prefab with those 3 prefabs I mentioned above to fix your problem.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...