Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Edited: Dragon walk
Old
Myo
Guest
 
Status:
Posts: n/a
Default Edited: Dragon walk - 06-01-2009, 11:18 AM

The question I have is how exactly do you get all four legs of a dragon to move forward and back all at once? I am trying to make it walk forward for a bit realistically.

When I use the following code, the dragon's legs doesn't move forward and back at all but makes the dragon slide:

Do together
dragon.frontLeftLeg.lowerLeg, turn foward, 0.1 revolutions
dragon.frontLeftLeg.lowerLeg, turn backward " "
dragon.front RightLeg.lowerLeg turn foward " "
dragon.frontRightLeg.lowerLeg turn backward " "
dragon.backLeftLeg.lowerLeg turn forward " "
dragon.backLeftLeg.lowerLeg turn backward " "
dragon.backRightLeg.lowerLeg turn foward " "
dragon.backRightLeg.lowerLeg turn backward " "

When I use this:
Do together
dragon.frontLeftLeg.lowerLeg, turn foward, 0.1 revolutions
dragon.frontLeftLeg.lowerLeg, turn backward " "
dragon.front RightLeg.lowerLeg turn foward " "
dragon.frontRightLeg.lowerLeg turn backward " "

Nothing here
dragon.backLeftLeg.lowerLeg turn forward " "
dragon.backLeftLeg.lowerLeg turn backward " "
dragon.backRightLeg.lowerLeg turn foward " "
dragon.backRightLeg.lowerLeg turn backward " "

Only the back two legs of the dragon moves forward and back.
Do any of you know what I am doing wrong or how I can make all 4 legs move forward and back as the dragon travels forward?

Thanks

Last edited by Myo; 06-02-2009 at 12:46 PM.
   
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2021, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.