This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Behavior
The camera needs to be in orthographic mode for best results. it still works in perspective but because of perspective warping it only works well in the center. This component is used for the dash, but can be utilized in real world space, allowing for some interesting effects.
This component only works with mesh colliders. The type of mesh does not matter, since it uses the UVs; the mesh triangles have to determine what point on the camera output to project the raycast out of.
The mesh collider can only be a front sided collider for this component to work.
Only user interaction lasers are allowed to pass through, and only press button interactions.
Examples
To set up this component, you will need a camera. One can easily be made by creating a new camera through the Dev Tool's "Create New" menu. The camera component on the newly created object can be put on a new slot and set to the side. The box collider needs to be replaced with a mesh collider. The mesh collider will automatically use the quad mesh on the camera. Now you are able to press buttons through the camera. It works way more consistently in orthographic mode.