This site requires JavaScript, please enable it in your browser!
Greenfoot
Username
Password
Remember Me?
Sign Up, Lost Password
Activity
About
Documentation
Download
Discuss
Scenarios
Bntyhntr501
wrote ...
2014/5/7
Loop rotation
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
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
2014/5/7
#
Oh wow, had no idea it was that simple thank you danpost.
You need to login to post a reply.
X