Animator: Script Example 16

Protractor DataListener

 

Reinitialize

Protractor notes:

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

The data listener channels are:

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