targetDataUpdated(manager);
}
@Override
public void targetDataUpdated(final InteractManager manager) {
final Spatial target = manager.getSpatialTarget();
if (target == null) {
_handle.setScale(1.0);
_handle.setRotation(Matrix3.IDENTITY);
} else {
// update scale of widget using bounding radius
target.updateGeometricState(0);
// update arrow rotations from target
if (_interactMatrix == InteractMatrix.Local) {
_handle.setRotation(target.getWorldRotation());
} else {
_handle.setRotation(Matrix3.IDENTITY);
}
}
}