I´ll go straight to the point.
Three families, each has its own instance variables (many of them, i´m actually worried it might affect performance). "shoot" (fireRate, etc), "players" (speed, etc) and "enemies" (steering IA). All players and enemies are inside of "shoot".
When the function "shoot" is called by a player or an enemy, said code will be executed using that instance´s "shoot" family variables. I´ve tried calling the function using that specific family´s UID as a parameter, and then picking the member of "shoot" with said UID, so it can read its instance variables. I´m pretty sure it doesn´t work as intended, because enemies trigger the function correctly but the code itself is unable to identify the correct instance of "shoot".
(I read all I can find about families, but still have some serious doubts about them. Any extra documentation would really help)
Thanks in advance