I need it for the HitMarker GUI.
Like foreach hit to display a Hitmark for example in radius. So they can be like 2 or 3 on the screen.
Displaying image using GUI within radius?
Discussion in 'Rust Development' started by PaiN, Jul 18, 2015.
-
You want to display the hit marker GUI to players within E.G: 10 meters?
Loop all players
distance = players distance to hitmarker?
If distance < 10
Display stuff -
Nah.... I want to display on the screen. In radius like one hitmark will be right of the crosshair and one left .. next one maybe a bit down.
-
-
Just play with cos/sin and position
-
-
Sinus/Cosinus
[DOUBLEPOST=1437235332][/DOUBLEPOST]Maybe it helps you http://forum.unity3d.com/threads/radial-menu.159868/ -