How to implement an automatic tracking target function(V3)?such as missile, Dota 2 skill

gamejzb

New member
Our team implement the automatic tracking target function with a lot of custom code in V2. But in V3, this code need to fix to many compile errors. So I want to see if there is a more elegant way to achieve these functions.
We need these function to use such as missile, auto lock enemy skill..

Hope to get a reply, Thanks
 
For a missile I would subclass the Projectile component and override the move method to change the velocity of the object.
 
Top