Hey guys, I'm pretty new to C# and still am learning the basics.
**Would really appreciate some guidance.**
Had this idea of flying opponents chasing players spaceship in environment with obstacles.
Is there a way for a gameobject to follow other gameobjects trajectory using its trail renderer component?
I suppose it would involve ***setpositons*** or ***getpositions*** functions and storing the vertices on to temporary array for the chasing object to follow and destructing them afterwards.
I though this would be a better way for the chasing vehicles to get destroyed in collision with obstacles (if the chasers would have different speed and delayed "reaction time" or offset target position) instead of using path finding.
↧