enginmanap / limonEngine

3D FPS game engine with full dynamic lighting and shadows
http://www.limonengine.com
GNU Lesser General Public License v3.0
580 stars 57 forks source link

Light objects doesn't have an ID even though they are Game Objects #66

Closed enginmanap closed 5 years ago

enginmanap commented 5 years ago

They have an ID field, but it keeps their order in lightList, so it collides with other game objects.

enginmanap commented 5 years ago

Same goes for Player objects

enginmanap commented 5 years ago

Fixed with add/remove light logic. ID 1 is reserved for Player