PDA

View Full Version : I need to know how to make a person walk


ronnie173
06-23-2009, 10:32 PM
Hi all I am taking a class and I am trying to make on of the people in Alice walk across the screen. I am using this code but it seems to not be working right.

Methods
world.my first method ( )
No variables
randomGuy2 move forward 0.5 meters
randomGuy2.rightLeg turn backward 0.1 revolutions
randomGuy2.rightLeg turn forward 0.1 revolutions
randomGuy2.leftLeg turn backward 0.1 revolutions
randomGuy2.leftLeg turn forward 0.1 revolutions

anonymous1
06-26-2009, 05:58 PM
I generally use poses to make people walk.

Just move them in the add objects screen and click capture pose on the character's properties screen.

The code would look something like this:
[Do together]
Character set pose character.walking 1
Character move forward 1/2 meter
[End do together]
[Do together]
Character set pose character.walking 2
Character move forward 1/2 meter
[End do together]