Hello Panda3d community, I,m starting my next project and I decided to built it off my prevous code, so I decided to make some optimizations to it, all was going well within the last couple of days.
However, yesterday I ran into a issue, within my code when I paired two accepts with the same conditions but different functions together, here is a example below.
So basically I have two different functions where you enter a collision sphere, one flags a variable as True while the other is a list of effects that occur when made contact, I know they work because the one on the bottom works.
So I swap them to test, and yes only the bottom registers, so what do you think is it? I think is may be panda3d thinking the top line is redundant code and ignoring it, I may have some validation to this as I have second set accept lines in another branch just above this set.
The difference between this set and the other is.
Is the conditions are different by just a bit, and both work fine as a set, so what do you think it is? does anyone have any solutions? I thank anyone who is willing to help.