Laser Raycast collision point - invert collider
Hey there,
I am working on a Listening-Test-Setup with Unity and SteamVR using an Oculus Rift. The created "room" is a sphere (I created a mesh in blender and flipped/inverted the mesh) and in the End the participant should point, with the SteamVR laser pointer, to the direction one thinks the sound comes from. I need to get the collision point of the LaserPointer Raycast and the spherical Room. To get the CameraRig inside the room, mesh-faces needed to be inverted but I did not find any way to invert the collider to detect the collision point between the laser and the sphercial room. Does anyone has an idea how to get this point? Hope my idea is understandable. Thank you in advance. Silke
Hi @Silke$$anonymous$$leinerBogen
Not sure if this alone is helpful but here it goes: https://docs.unity3d.com/ScriptReference/Physics-queriesHitBackfaces.html
Hi @eses
thanks for the hint. That was not known to me as a possibility. But I am afraid that since I have turned the outer faces inwards, they point in my direction that this may not solve my problem. However, I can not say that yet. I will take a look at the physics.
$$anonymous$$any thanks for the answer.
greeting Silke