Answer by Cherno
I suggest this little workaround: Beside the target variable, have another "backup" variable called targetPos which holds a Vector3. When the Player (the target) is destroyed, the targetPos is assigned...
View ArticleAnswer by chariot
If u have only one player u can try to find with tag in Update or make some conditions for finding it. For ex in pathfinding script. Also u need to send "dead" bool to this script before destroing...
View ArticleAnswer by Cherno
I suggest this little workaround: Beside the target variable, have another "backup" variable called targetPos which holds a Vector3. When the Player (the target) is destroyed, the targetPos is assigned...
View ArticleAnswer by chariot
If u have only one player u can try to find with tag in Update or make some conditions for finding it. For ex in pathfinding script. Also u need to send "dead" bool to this script before destroing...
View Article
More Pages to Explore .....