Igor Q. 519 Posted March 13, 2022 Hi I'm trying to use Raycasting from the Camera of the player. However there is a problem. The "Camera Ray Direction" is by default linked to the screen of the user(0,0 being bottom right, and 1920x1080 being top/right for the average PC user). This means depending on the screen resolution of the user, it will be different for each player. Please implement a math shortcut to convert an Angle Vector, to a Directional Vector. (Solution provided below) Share this post Link to post Share on other sites
pypse 4 Posted March 16, 2022 Hello Igor, you can use these two tiles to get the current screen size of the client. That should allow you to get the center of the screen of every screen. Hope that helps 1 1 Share this post Link to post Share on other sites
Igor Q. 519 Posted March 16, 2022 (edited) @pypseHey, thanks for the reference, however it still doesn't resolve the issue with different screen formates. I'm using a monitor that's 2560x1440, so whatever measurements I use, it won't work for the average user. (1920x1080) I understand what you mean now, thanks! Edited March 16, 2022 by Igor Q. 1 Share this post Link to post Share on other sites