Jump to content
  • 0
๐Ÿ’ŽYue๐Ÿ’Ž

Name Item on Box??

Question

4 answers to this question

Recommended Posts

  • 1

Oh, like a game HUD.ย  I would do that with a combination of drawimage and drawtext and the function that gets screen coordinates from 3D coordinates.ย  I forget its name and I can't find it in the docs right now.ย  Edit: found it: camera->project()

  • Like 1
  • Thanks 2

Share this post


Link to post
  • 0

I'm not clear what you're looking to do.ย  Are you trying to add a label to it by code, looking for the proper coordinates to position it?ย  Or can you just add it by editing the model?

  • Like 1

Share this post


Link to post
  • 0
1 minute ago, gamecreator said:

I'm not clear what you're looking to do.ย  Are you trying to add a label to it by code, looking for the proper coordinates to position it?ย  Or can you just add it by editing the model?

I want to put a text on top of the box, which for example says "Food". And I want it to be seen from a certain distance but above the box.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

ร—
ร—
  • Create New...