Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(+1)

Man, I was impressed by how Brainrot They follow each other in a series, and the music is also great. 

it's a simple interpolation, in godot you can do it like this:

```

func move_to_target(delta):
    var to_target := target.position - position
    var weight = 1 - exp(-FOLLOW_SPEED * delta)
    position = position.lerp(target.position - to_target.normalized() * 100, weight)
    

```

that 100 controlls how far apart items will be.