camState.setCameraPosition(translation.add(offset));
camState.setTargetCharacter(avatarCellRenderer.getAvatarCharacter());
// Create the Chase Camera with the model and state and add to
// the View Manager
FlexibleCameraAdapter chaseCamera =
new FlexibleCameraAdapter(camModel, camState);
viewManager.setCameraController(chaseCamera);
}
});
// A menu item for a test control panel for the avatar.