31.03.2018, 09:07
Dont use create object. Switch all to dynamic ones. Especially your Gates that Dont appear. You have simply teacher the limit and ThAts Why they are not showing. The fact that you can open and close Gates Which are not there is Becuase you probably also have set their coords in an enum and while opening or closing it checks that enum.