I want to make a custom crosshair for my game and I want to add the capabillity for it to lock onto and follow targets.
Something like this:
I’m also using a ScreenGui for my crosshair.
I want to make a custom crosshair for my game and I want to add the capabillity for it to lock onto and follow targets.
Something like this:
I’m also using a ScreenGui for my crosshair.
I assume that you are trying to convert a Vector3 to a Vector2 And your ScreenGui Does Ignore The GuiInset
You can use a method Called Camera:WorldToViewportPoint()
This Method gets a Vector3 Object and returns a Vector2 and a boolean indicating if the point is on the screen.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.