
11-29-2011, 04:14 AM
Use the distance to function to measure the distance between the two people and store this in a variable, dist.
Then move the two people dist/2 towards each other (you will need to adjust a little to leave a small amount of distance between the two people but that should be easy to do).
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
|