Make the arrow a1 point from the Earth to Mercury at all times, while Mercury moves. Insert an appropriate statement into the while loop (indented) to update the arrow a1 so that its tail remains on the Earth but its tip is always on Mercury. Don’t create any new arrows; just update attributes of your existing arrow a1. Your Mercury has been moving to the right, in the +x-direction.
Finally, change deltar in such a way that Mercury moves northeast, that is, up and to the right at a 45 degree angle to the horizontal. The tip of the arrow pointing from the Earth to Mercury must remain on Mercury during the motion.
HELP IF YOU CAN
--
---
You received this message because you are subscribed to the Google Groups "Glowscript Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to glowscript-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/glowscript-users/205d236a-52de-4849-a666-3cecd37abb2cn%40googlegroups.com.