02-07-2017 01:00 PM
I have a problem attaching the avatar prefab for touch controls to the player controller prefab from oculus SDK. I have tried making both prefabs as children of an empty parent object. I tried to make the local avatar a child of player controller and it works fine until I move and my hands stay in the same spot while the body moves. I tried looking for a solution and cannot find one. Is there another way of doing this?
Thank you.
02-09-2017 12:03 PM
02-17-2017 07:53 PM
02-17-2017 07:56 PM
02-17-2017 08:18 PM
03-10-2017 11:00 AM
03-10-2017 11:19 AM
wynott said:
OK @Stas054 I got this to work by making LocalAvatar a child of OVRPlayerController.
In inspector in OVRPlayerController there's two boxes HMD Resets Y and HMD Rotates Y. I unchecked both.
I also had to set the LocalAvatar 0.5m above the OVRPlayerController insert point.
No idea why 0.5m but... Seems to have worked.
Alpha14 said:
To elaborate on Wynotts post the fix is as follows and works flawlessly.
STEP 1 - You must drop the Local Avatar prefab in the child of "TrackingSpace" Not the just the OVRPlayerController. If you do not do this correctly it will not work at all.
STEP 2 - Click on OVRPlayerController and goto inspector. Untick on "Hmd Resets Y"
STEP 3 - Make sure "Hmd Rotates Y" is ticked
ADMINS - Please mark resolved.
03-10-2017 12:09 PM
07-16-2017 07:45 AM
Alpha14 said:
To elaborate on Wynotts post the fix is as follows and works flawlessly.
STEP 1 - You must drop the Local Avatar prefab in the child of "TrackingSpace" Not the just the OVRPlayerController. If you do not do this correctly it will not work at all.
STEP 2 - Click on OVRPlayerController and goto inspector. Untick on "Hmd Resets Y"
STEP 3 - Make sure "Hmd Rotates Y" is ticked
ADMINS - Please mark resolved.
09-28-2017 10:38 AM
Alpha14 said:
Spoke a little soon, works great in Unity dev mode. However if I export a build there is no avatar at all and can see a purple head stuck in the floor. Any ideas? What did I miss.