OVRGrabber and OVRGrabbable offset when grabbing
Hello I had an application in which I could catch objects using two scripts: OVRGrabber, OVRGrabbable. It was working very well 1 or 2 weeks ago, but since very recently, I can't say when exactly, it doesn't work anymore after I updated the SDK I did to see the "Hand Tracking" SDK. What happens is that as soon as I try to catch the object, the object makes a translation behind me and doesn't move as long as I catch it, as soon as I release it, it falls down. The gameobjects in my objects are not the children of another gameobject, so the offset has nothing to do with parentage. I've exactly follow the instruction in this tutorial on Youtube (I can't post link...) : Unity Tutorial : VR, Oculus Avatar and Grabbing Object setup IN 5 MINUTES Here are the components that are on my left hand, right hand and on an object to catch : Object : Left hand anchor : Right hand anchor: I already try to play with "Is Trigger" parameter but nothing was better. Hope someone got a solution !3.3KViews0likes1CommentRotating empty parent on character rotates on a weird axis when player isn't standing at origin
Sorry I know the title is really confusing. Basically the camera and hands are nested under an empty object. This empty object is then used to rotate the character and teleport the character. Thing is, the camera is able to freely move around and away the empty object. Making rotation seem like you're running in a circle instead of just rotating. Then when you teleport it's a little offset. Like if you shoot the teleport beam straight down you move because it's teleporting the empty object to the camera which moves the camera. So if the headset and camera aren't exactly on top of the empty object everything gets wonky. I understand the problem just can't figure out a solution. I tried resetting the position on every teleport but you can still move away and spin in circles. As well as resetting resets the orientation and that's not exactly what I need. Any help would be greatly appreciated.501Views0likes0Comments