Hey , everyone.
Just brought and implemented the object pooling plugin and its working great, I’m creating an endless runner for mobile and after a lot of testing / figuring out performance bugs, I’ve finally cracked it. The game runs well, 120fps on my Mac and 35 fps on my android, no performance lags, just continuous frame rate, the pooling has given me that so thanks sooo much!
but
Im having trouble with my respawned coins. I’m finding that if I have hit them before or if they are picked up by a magnet kinda thing, that when they are respawned next time, they keep those magnetized settings, or they won’t get picked up before because they have already been picked up on the last spawn.
I guess whats happening is that when a coin is sent back to the pool, it is not being told to revert back to its original coin state, its being kept in ‘magnet state’ and flying from its spawn point in the distance to the player.
Is there a way to reset the coin to its original settings/state on return to pool, or a setting / checkbox that I’ve overlooked? I’m only about a month or so into learning unreal so yea a bit of a noob.
any help is much appreciated,
cheers
a