private ManagedReference<UserMO> userRef;
private WonderlandClientID clientID;
public AvatarCellMO(UserMO user, WonderlandClientID clientID) {
super(new BoundingSphere(AvatarBoundsHelper.AVATAR_CELL_SIZE, new Vector3f()),
new CellTransform(null, new Vector3f()) );
this.userRef = AppContext.getDataManager().createReference(user);
this.clientID = clientID;
Vector3f location = new Vector3f(0,0,0);
Vector3f lookDirection = new Vector3f(0,0,1);
Quaternion rotation = new Quaternion();
rotation.lookAt(lookDirection, new Vector3f(0f,1f,0f));
CellTransform initialLocation = new CellTransform(rotation, location);
setLocalTransform(initialLocation);
}