So for my game i need the playe to shoot some bullets.
And we all know the best way to do that is to use pooling.
Now the problem i have with pooling(core game kit in this case) is that when the pooled object(bullet) gets despawned on hit, it saves every thing( state, speed, rotation ect). Now to combat this,i had a state that would set acceleration to 0 en rotation to 0. The problem with this is.. it stays on this state... if the FSM go's to state 2 and despawns, it will respawn in state 2 instead of going to state 1 and doing the FSM all over again.
Is there any one that can help me with this, specially core game kit or pooling in general for playmaker.