Closed derekhendrickx closed 7 years ago
Sorry for taking so long to look at these changes - I didn't have access to a Vive until this week and I had classes to worry about. Regardless these changes LGTM and are very appreciated
No problem @Flafla2, you're very welcome!
When there are big Trigger area in the scene (see the screenshot below), you can't teleport inside them. When doing the Raycast, the Triggers aren't ignored.
The fix was to add 2 parameters to the Raycast method, the LayerMask and the QueryTriggerInteraction.
Before
After
You can now tweak the Raycast settings by specifying a Layer Mask, decided to ignore it or not and choose to ignore the Trigger or not.