avatarCharacter.removeComponent(CollisionComponent.class);
// Set the initial location of the avatar if there is one
if (currentLocation != null && avatarCharacter.getModelInst() != null) {
logger.fine(cell.getCellID() + " Using current location: " + currentLocation);
avatarCharacter.getModelInst().setTransform(new PTransform(currentLocation));
} else if (delayedMove != null && avatarCharacter.getModelInst() != null) {
// there was no previous avatar, but there was a move that
// happened while the avatar was null. Apply the move now
logger.fine(cell.getCellID() + " using delayed move: " + delayedMove.toString());
PTransform trans = new PTransform(delayedMove.getRotation(null),
delayedMove.getTranslation(null),
new Vector3f(1, 1, 1));
avatarCharacter.getModelInst().setTransform(trans);
}