Answer the question
In order to leave comments, you need to log in
How to return the position of an object back?
I'm making a perfect slice game - the essence of the fruit cutting game.
I have one problem, I can’t solve it in any way, the thing is this: I have a knife, after pressing mouse (0) it changes the rotation value in z to 90. Pressing it again flips another 90.
I need to make it so that it after it reaches the 90 degree z position, it returns back to the starting position.
Strangely written, but please help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question