Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

I assume you're referring to the slithering effect, right? The head constantly tweens between its current angle and the target angle each tick. The target angle is the angle towards the mouse + sin(time)*n

When moving, the snake accelerates in the direction the head is pointing.