Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Is there a way to convert the Vector3 position to UDmi2? [DISCUSSION]

I want to make a script that when a player is close to a part, a guy will pop up with a position at the part. Like an E to interact. Is there an actual working way to do that?

1 answer

✓ Accepted answer

Yes, you can use Camera:WorldToScreenPosition

And loops/UserInputService to detect distance/button press


If this answers your question, please mark this answer as accepted

3 comments

0

In what way

0

use a loop to cycle trought all your interactable parts, if any is close, use Camera:WorldToScreenPosition to show a ui in the exact needed position, so that you can instruct user to press E or any other keys

0

OK thanks

This discussion is preserved as it was. New answers, comments, and votes are closed.