Class: AvatarController

AvatarController()

This is remote control for user's avatar. Installed as change listener to WorldManager, tracks position of all events that user sends - typically movement - and optinally adds some more - typically avatar animations.

Constructor

new AvatarController()

Source:

Classes

AvatarController

Members

idle

Name of idle animation
Source:

idleTimeout

Idle timeout, default 10s
Source:

lastChange

Timestamp of last change
Source:

walk

Name of walk animation
Source:

Methods

processChanges(changes)

Process locally generated changes to avatar. Called from WorldManager.trackChanges().
Parameters:
Name Type Description
changes array of field,value object pairs
Source: