AvatarPawn is the view-side implementation of Avatar for the local AvatarActor. There is a separate and almost empty RemoteAvatarPawn to show remote avatars.


# lookTo(pitch, yaw, lookOffset)

Sets the coressponding actor's look configurations by publishing an event to the actor.

Name Type Description
pitch number

the pitch

yaw number

the yaw

lookOffset Vector3

the lookOffset

# setOpacity(opacity)

This method sets the opacity of the 3D model by assigning a different opacity value into the Three.js material.

Name Type Description
opacity number

# gotHome()

This call initiates tells the actor to move back to [0, 0, 0], and resets rotation.