- Home /
ScreenToWorld raycasting with panini projection
Hi everyone,
We're doing a large FOV interactive (120 degrees) and were hoping to use a single camera for the view. To avoid as much distortion as possible, we applied a panini projection in the post processing volume which looks great.
However, in this interactive, players will be controller screen space aimers which translates into a point in the world via a raycast from the camera. Of course, because of the warping of the panini projection, the position of the UI aimer doesn't translate into the real world position of the raycast and thus, the shot doesn't align.
Any help is appreciated, thanks!
Your answer
Follow this Question
Related Questions
Infinite ray length 1 Answer
Fast Tapping Objects. 1 Answer
Mesh Collider is Hiding Capsule Collider 0 Answers
Firing rays in a cone shape from the player 4 Answers
About Touch Based movement and some other minors doubts. 0 Answers