I am new to coding so sorry if this is a super simple question. I am trying to remove only one entity when collision occurs. However I can’t seem to remove one without removing all of the same type.
I know I can use entityManager.removeLastAddedEntity() but this will not work in my case because it may grab another entity that just spawned.
Any help is appreciated, and again sorry for my noobness.