Begin/end overlap getting triggered on the same frame
I am making a VR game that uses head tracking to select things in the menus. I have a collider attached to the HMD camera and it triggers overlap events when it hits menu items. So far, simple.
However, it seems to trigger begin overlap and end overlap during the same frame. If I look at the menu item and print something on begin and end overlaps, the log gets spammed with begin, end, begin, end, and so on even though the collider hasn't moved from the menu item.
Could this have something to do with temporal reprojection?
I thought about using a ray cast but if it's using the same transform as the collider, I will most likely have the same issue.
asked May 11 '16 at 04:51 AM in VR
A temporary solution is to detach your capsule from the camera. Make a timer by event and have it set the capsule-location back to the camera, every every 0.05 sec.. works fine.
answered Nov 06 '16 at 04:49 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here