Control Your Character's Gaze

Make the character look in any direction

Degrees: 0 & 360
Degrees: 270 Degrees: 90
Degrees: 180

recenter() | Speak Something


To control the movement of a SitePal's head and eyes use the setGaze() function with the below parameters. recenter() and calls for speech interrupt a setGaze() call.

Degrees (0 - 360)
The angle to which the SitePal head and eyes are directed
Radius (1 - 100)
The distance of the of the head and eyes movement toward the angle
Duration (In seconds)
The length of the gaze



See the source of this page for the API code

© 2003 Oddcast Inc. All Right Reserved