How to do a 3d projection: (how I did it) 1. get the relative position of the point to the camera. 2. rotate those positions by the camera rotation 3. divide the x and y (horizontal and vertical) coordinates by z
I saw a comment by @weegaweek on his profile that explained how to do this. I had been experimenting with it, but until I saw his comment, I didn't know for sure that it was the way to do it.