This site requires JavaScript, please enable it in your browser!
Greenfoot back
Bntyhntr501
Bntyhntr501 wrote ...

2014/5/7

Loop rotation

Bntyhntr501 Bntyhntr501

2014/5/7

#
Hey guys kind of new to Greenfoot and was wondering how do you make a loop for an object to rotate infinity.
danpost danpost

2014/5/7

#
If you mean to spin in place, use 'turn(10);' in the act method. The act method is called upon continuously, creating your first loop for you.
Bntyhntr501 Bntyhntr501

2014/5/7

#
Oh wow, had no idea it was that simple thank you danpost.
You need to login to post a reply.