Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't understand why it has to be so complicated. If you position pivot of your objects on the bottom,lowest corner of its image. Then you can start drawing them by the order of this position.

Start drawing from highest Z position to the lowest. When you have objects staying on top of each other, use order of the parent object as the drawing order for child objects.

1 rule : All buildings are only allowed occupy their own air space only. They are not allowed to have balconies over reaching to airspace of other X/Y area.



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: