Making a character follow a character


how can I make a character follow the main character like in “deltarune”

I guess you could put the character that should follow you into the player scene of yours and put it on invisible.
Once the character should follow you, put it on visible.
This way the character follow you the whole time, but just becomes visible once you want it to become visible.

Thats at least what I would do/try

Does it need some coding or something ?

If it does can you give an example?

You could put this line in your second character :
position +=(player.position - position)/speed
First define a var called speed, and place this line inside the _process function.

1 Like