Quest: Earth Defender Quest
Challenge: Defend the Planet
Feel free to share your solutions, ideas and creations below. If you get stuck, you can find some ideas here for completing this challenge.
Quest: Earth Defender Quest
Challenge: Defend the Planet
Feel free to share your solutions, ideas and creations below. If you get stuck, you can find some ideas here for completing this challenge.
I changed mine so towers fire missiles and satellites lasers.
Here is how I moved the missiles so they turned as well
if (target != null)
{
myMissle.transform.position = Vector3.MoveTowards(myMissle.transform.position, target.transform.position, Time.deltaTime * missileSpeed);
var newDirection = Vector3.RotateTowards(myMissle.transform.forward, target.transform.position - myMissle.transform.position, Time.deltaTime * missileSpeed,0f);
myMissle.transform.rotation = Quaternion.LookRotation(newDirection);
}