hi everyone. Im trying to figuere out how to make something rotate on himself, and stop at 90º then wait for some seconds and start to rotate over again.
Im new in C# I used to write on Js.
I was thinkings in something simple like:
transform.Rotate (new Vector3 (0, 0, 1)*speed, Space.Self);
with something like this, I can make the object to rotate. But I dont know how to stop it in the 90º or even how to make it wat some seconds before start to rotating again since “yield” work pretty different in C#
Im kinda lost right now :c I would really appreciate some help
Thanks, just now I was writting somthing similar, but what you give me help me to improve it. When finish and working I’ll post here so you can let’me what you think.