Skip to main content

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

Great entry the movements for the beams and dots is so smooth!!

How did you make the ai for the dot so smooth? 

(+1)

Glad you liked it! The way I made the ai work is by setting a target position for the dot to move to for every frame. When a beam is shot, it will shift this target position based on the direction of the beam and how close it is to the dot, and after that I used unity's SmoothDamp function to smoothly change the dot's position towards this target position, and tinkering with the parameters a bit to achieve a smooth looking movement.

(+1)

And with the random movement when idling make it look so convincing and good! amazing work! And thank you for sharing!!