Sign in to follow this  

Detect if a mesh is clicked?

Recommended Posts

I am using Managed DirectX to render a lot of "planets" in 3D, with the view angle put so that it looks like 2D. It is possible to zoom in the game though, to get a 3D effect. I would like a function that by a mouse X or Y coordinate can retrieve the clicked mesh in the rendered content. Is this possible? Or is there another approach that is? Thanks in advance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this