Hello, how can I make the gui sort of move and point to the object like in the video?
Thank you, in advance.
1 Like
This should definitely work, as this is the result: https://gyazo.com/171cf0814bbb621c4782f3ad40900c77
You may not be using the correct position for the compass. This is what I have done taking from the WorldToScreenPoint article’s code and applying the formula. I’ve added + 90 as it appears there was an offset.
local camera = workspace.CurrentCamera
local vector, onScreen = camera:WorldToScreenPoint(workspace.Part.Position)
local screenPoint = Vector2.new(vector.X, vector.Y)
local frame = gam…
This should handle finding the direction on a 2d UI, to position it on the edge of the screen you would need to find a way to project this direction towards the edge of a screen.
Yep found a resource for it:
Join our Discord or comment on this post to get help
Plum's Minimap
As seen in HUGE games like Warrior Cats: Ultimate Edition with 610 million visits!
[image]
Quickstart video
RoRender v4 | Download | Demo
Discord | Twitter | Patreon
Roblox's most popular minimap
Hello developers!
Have you ever played an experience where you couldn't find the points of interest most important for your progression? Well I have!
With Plum’s Minimap you can easily avoid this in your …
1 Like
letris
(Roonski)
December 7, 2021, 2:08am
3
VIDEO
this is also a good resource in addition to the ones above
2 Likes
Forummer
(Forummer)
December 7, 2021, 9:23am
4
That looks like a SurfaceGui to me, which will rotate/move (according to the camera’s perspective) with the BasePart instance that it is parented to automatically.
1 Like