I have a 4x4 are (16 block) ,and i want one of thies (randomly) move to up every 5 seconds.
Who has an idea pleas help me,thx.
There are many ways of achieving something like this. What have you tried so far? What sources (tutorials, manuals, web searches etc.) have you read through?
I would suggest the best way is to begin by following through some tutorials to start getting used to coding and problem solving.
As one possible answer to your question, however, you could use transform.Translate(Vector3.up);
on a randomly selected block. To make a random choice, see the Random.Range scripting API.
1 Like