- Home /
Design discussion/script request
Partner follow the player
Hello, I am beginner with Unity and I was trying to make a secondary character follow my character going through exactly the same way. Like in Donkey Kong Country:
http://www.youtube.com/watch?v=aW-PzqXT1JY
I've looked through hundreds of scripts that make an object follow the character but the object does not travel exactly the same path taken by the player.
Another day found an asset that does what I need, but the follower not accompanies the player when I jump on top of platforms:
http://u3d.as/content/viral-vector/follow-me/2L6
Would anyone do that? Thank's in advance!
Basically you are asking someone to write a fairly sophisticated script for you, which is beyond the scope of Unity Answers. Unity Answers if for single, specific technical questions to help you write your own code. If you are looking for a design discussion on this topic, Unity Forums is a better place to post the question.
If I was approaching this question, I would have the leader create a set of waypoints that the follower follows. The following logic would depend on a number of factors including how the follower interacts with the environment.
Follow this Question
Related Questions
How to use individual Particles as objects 1 Answer
Minor Enemy Tank AI 1 Answer
Create mouse/touch path and object follow C# 0 Answers
Make an object following another object 0 Answers
How to create a Path 1 Answer