How am i suposed to draw a icon in the 3d space?

So yeah how to draw a 2d icon in the 3d space’?

You have a few options. You should try them out and see which works best for you:

  • Draw the icon directly onto a mesh.
  • Make a particle system that displays the icon.
  • Get the 2D screen coordinates of the 3D location you’re looking at using Project() and then use DrawTexture() to draw your icon at that location.

There are probably other ways of doing it. If you tell us more about what you are trying to do, then maybe we can help you more.

Im trying to put on NPC merchants icons on the head to help out the player see clearly what’s what

I think a particle system would work really well for that.