View Single Post
Old
davidghemer
Member
 
Status: Offline
Posts: 38
Join Date: Nov 2011
Default 11-29-2011, 06:05 PM

Here's another way of doing this.

Write a method to get the rotors to turn. One revolution will be enough. Adjust the time so that it turns at the right speed. Set the style to abrupt.

Then call this method in a "while something is true" event. You'll need a boolean valued variable that you set to true when you want the rotor to turn. Attached is a simple demo. Press the spacebar to toggle on and off.
Attached Files
File Type: a2w heli.a2w (416.1 KB, 34 views)


For video tutorials on programming in Alice 2.2 check out my YouTube channel

http://www.youtube.com/user/drdave785

Also check out my Programming in Alice blog at

http://programminginalice.com
   
Reply With Quote