how can i code to stop the rotation of an object every 2seconds delay.
You could use a coroutine or update, and check for 2 seconds of time passing. Use Time.deltaTime and add it up each frame until you hit 2 seconds, or just check if Time.time is >= the time when you started rotating.
As for actually stopping the rotation, well that generally means just not doing the rotation you’re doing every frame.
1 Like
thank you so much…