|
Ok, so I'm trying to rotate my object, while a certain variable is not equal to another variable, this is the script I got. As soon as I try to run this, Unity just freezes and I have to hardreset it. Is there a way to make my object turn smoothly for only 90 degrees each time and then make it stop until the next input is given.
(comments are locked)
|
|
Perhaps you can use If condition along with various flags to achieve what you want. Since update already does what you want your While loop to do. For example, I'll try this one too. Thanks for the reply.
May 23 '11 at 06:34 PM
Dave 11
(comments are locked)
|
