Converting 3D Position to 2D Position on a SurfaceGUI

Hello, I’m trying to figure out how to convert a 3D position (from the player’s mouse.Hit) into a 2D position for a SurfaceGUI.
I’ve tried looking everywhere on the Devforum, and couldn’t find anything of use.
Basically, I’m trying to make a bullet impact decal appear on a wall after you shoot it. The problem, is that when you shoot a corner, the bullet hole will still appear but will be “hanging” off the side of the wall. I think this issue would be fixed if it was using a SurfaceGUI, as right now it’s just a super thin part welded to the wall with a decal attached to it.

3 Likes

Sorry, I meant SurfaceGUI not BillboardGUI

1 Like