Animator: Script Example 15

Protractor

 

Reinitialize

Protractor notes:

The data source variables are: t, x, y, theta, theta0.

Theta0 is the angle of the protractor's base.  The base can be fixed by declaring the "fixedbase" property in the addObject method.