This piece is inspired by mimicking the motion of "flow". From transform.localScale, I came to the idea that maybe I could make a line of object scales up/down from the middle elements and so to create a wave of motion. 

So I used Mathf.Sin() to create a smooth transform of objects' scale, then applied this transformation with for each function(similar to array in Javascript) to each newly created sphere. The truly difficult part for me is trying to create the offset with using it in map()function, which I found here(https://prime31.github.io/simple-value-mapping/, https://www.dotnetperls.com/map). And I am still a little bit confused with it to be honest

StatusReleased
PlatformsHTML5, Windows
AuthorTianFF
Made withUnity

Download

Download
Windows Build.zip 26 MB

Leave a comment

Log in with itch.io to leave a comment.