Download

Projectiles - HomingAcceleration using out-of-date location data?

I’m experiencing a strange issue with Homing Projectiles, just using the stock UE4 homing projectile code.

It seems that fairly often, the projectile homes in on a previous location of the object. I think this has something to do with the TWeakObjectPtr, perhaps referencing an older cached version of the object or something? One way or the other, the projectiles are definitely homing in on previous locations, until a random period of time elapses and they home in on the targets current location again.

It seems fairly sporadic. I’m not doing anything particularly out of the ordinary other than allowing it to select it’s targets on it’s own. Any ideas why this would be happening?