Author Topic: 3D -> 2D mouse coords?  (Read 677 times)

Offline Minigame

  • int
  • **
  • Posts: 55
    • View Profile
3D -> 2D mouse coords?
« on: January 24, 2015, 10:48:53 am »
I've got the 2D -> 3D mouse coordinates concept down, but how can I reverse that? My goal is to set up a system where I can click on an entity, and a simple options box will be rendered in 2D space.

Here's a microsoft paint where red X = mouse position and the white box is what I want to accomplish..

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11769
    • View Profile
    • http://www.jpct.net
Re: 3D -> 2D mouse coords?
« Reply #1 on: January 24, 2015, 02:01:13 pm »
Interact2D has several methods to project a 3d vertex onto the screen.