TomorrowTodayLabs / NewtonVR

A virtual reality interaction system for unity based on physics.
MIT License
787 stars 196 forks source link

Using NewtonVR with Arc Teleporter #65

Open reedery opened 8 years ago

reedery commented 8 years ago

Hey I'm trying to use an asset called VR Arc Teleporter http://u3d.as/sty with NewtonVR and running into issues since the instance of a the tracked controller object is no longer a SteamVR_TrackedController type, but an NVRHand and the latter does not inherent from the former. I've tried to remap the different button triggers but I couldn't reference the exact instance of the NVRHand objects in the scene. Do you guys have any suggestions on how I can make the two assets work together? Obviously there is some clashing with the specific buttons but I can deal with that later. I can also share the VR Arc Teleporter script with you privately to inspect it since it is not free.

Thanks for all your great work Ryan

benjavides commented 8 years ago

I'm currently using NewtonVR with Vive Teleporter by @Flafla2. You could also use Steam VR Unity Toolkit by @thestonefox. It has lot's of features including grabing objects and parabolic teleporting.

Kaibaer commented 7 years ago

@benjavides, how did you add the NVRPlayer LeftHand/RightHand to the Teleporter-Script (in NVRPlayer -> Head) from Flafla? It seems it does only allow to add the SteamVR Controller objects but not the modified ones by NewtonVR, as only the SteamVR Objects appear in the insert popup.

Andze commented 7 years ago

I am having the same problem, I have some projects that use @Flafla2. Vive Teleporting which I am trying to bring up to date with the latest version of Newton but I cant figure out how to attach an instance of the hands as it requires a SteamVR_TrackedController type.

Kaibaer commented 7 years ago

@Andze, I think I could solve this. And it's pretty easy as you said it requieres a SteamVR_TrackedController type. Simply add the SteamVR_TrackedController script to LeftHand and RightHand as a component to each. Than you can select the LeftHand and RightHand from the prefab and teleporting works fine.

Andze commented 7 years ago

@Kaibaer Thanks for the help! I added SteamVR_TrackedObject and then that allowed me to attach it correctly

zite commented 7 years ago

If you add the SteamVR_TrackedObject it will not work with the Oculus SDK builds in 0.9+. This may not be a problem for most of you though! I'm going to leave this open as I may decide to make some sort of bridge for this package as a lot of people seem to be using it.

craplabs commented 7 years ago

arc teleport works fine but if i teleport with a picked up object it falls down... how can i fix that ? thx