Hi
Can I ask why we disable ticking in the Tank.cpp?
Many Thanks
Paul
Hi
Can I ask why we disable ticking in the Tank.cpp?
Many Thanks
Paul
Because there’s no reason for it to be doing anything in tick anymore after it’s been destroyed.
HI Dan,
But wouldn’t the act of destroying the object stop it ticking?
I would of thought that it would only start once it has been constructed and when the destructor is called it would cease to be entirely ?
Is the tank destroyed?
To my mind yes
As we disable the Tick() in the HandleDestruction function.
This is called directly on the Tank in the function after we check that the DeadActor == Tank
Tank->HandleDestruction();
… Ahhhh got it … No its not we never use Destroy() on the Tank… OK in my mind I was making an assumption on Destruction… Thanks Dan
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.