Jump to content

Recommended Posts

Posted

I have a camera with birds eye perspective and will now use my mouse to click on primitive objects to select them. I´m stuck a little bit how to get the objects behind my mousecursor. The Window Class only gives me functions like GetMousePosition. I have an idea to calculate a ray startpoint in relation to the xy position from my mousecursor in the window and send the ray with 90° into my world to see if there is a collision with an entity but that seems to be not that nice.

 

someone give me a hint?

It doesn´t work... why? mhmmm It works... why?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   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...