Unproject?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
nayon
Posts: 16
Joined: Mon Mar 16, 2009 1:07 pm

Unproject?

Post by nayon »

Is there a way to get the x,y,z coordinates of a place the mouse has clicked on a plane? I think a triangle selector would not work because the plane consists of 2 huge triangles. So what would be the way to solve this dilemma?

Thanks in advance.
Nox
Posts: 304
Joined: Wed Jan 14, 2009 6:23 pm

Post by Nox »

Get the ray of the cam an use the intersection method of plane (take a look into the docu).
Post Reply