Sign in to follow this  
MikeDee

Convert 3D to 2D positions

Recommended Posts

MikeDee    100
Hello there !

I'm working on a 3d RTS and I have the basic unit selection code working, the problem is when I want to select multiple units using a selection box.

The method I thought of was convert the 3d coordinates of the units into 2D coordinates and the select them using a 2D selection box.

The problem is I can't seem to convert the 3D coordinates into 2D coordinates.

I'm sure this isn't very hard to do, but somehow all the methods I tried so far failed.

Any help on this would be greatly appreciated !

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