Hello Constructors !
I have a question about the turret behavior. I'm using C3 with the R485 beta.
The scenario: an object - a tank - is a container. It contains a tank body, and a tank turret. The tank turret has a turret behavior.
Now, I create two instances of this tank object. One for the player, and one for the computer.
But while the tanks are different instances, it seems to me that all turrets share the same comportament when I for example isolate a single tank instance and clear its turret targets.
It seems that the "clear targets" command does not only clear the targets for that turret instance, instead it clears the targets for all the turrets with no regarding to the tank currently picked by UID.
I wonder if my explanation is correct.
In other terms, if I want to have two tanks, each with an indipendent turret (behavior), I have to create two different turret objects as well - for instance, playerTurret and computerTurret.
In this case, if I clear the targets for the playerTurret, it should not affect
the targets for the computerTurret. Am I right ?
Thanks for your attention and have a nice day,
Sergio