alice-teacher Question about built-in procedures

Don Slater don at alice.org
Wed Oct 10 11:33:45 EDT 2018


Jennifer,
moveTo animates movement of the object, in the direction of the target object (a 3D Model) until the pivot point of the object and the pivot point of the target are exactly the same; the original orientation of the object is unchanged.

moveTowards animates movement of the object, by the specified amount, in the direction of the target object (a 3D Model)…  the original orientation of the object is unchanged.

The command “moveToward (target, getDistanceTo(target))” will produce the same results as moveTo(target).

I have attached an Alice 3 project which illustrates the differences…

Let us know if you have any other questions…

All the best,
Don Slater

Alice Project



> On Oct 10, 2018, at 11:12 AM, McLean, Jennifer <jmclean at klschools.org> wrote:
> 
> Hi,
> 
> I was reviewing the procedures with the class and I was unclear on how to explain the difference between the moveTo and the moveToward procedures. They seem to work the same way. 
> 
> Thanks, Jennifer
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu <mailto:alice-teachers at lists.andrew.cmu.edu>
> To change settings or unsubscribe visit:
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers <https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20181010/9908d70e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moveTo_moveTowards.a3p
Type: application/octet-stream
Size: 38016 bytes
Desc: not available
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20181010/9908d70e/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20181010/9908d70e/attachment-0001.html>


More information about the alice-teachers mailing list