diff --git a/editor/plugins/spatial_editor_plugin.cpp b/editor/plugins/spatial_editor_plugin.cpp index 68ca11112546..543ac857be64 100644 --- a/editor/plugins/spatial_editor_plugin.cpp +++ b/editor/plugins/spatial_editor_plugin.cpp @@ -1612,6 +1612,8 @@ void SpatialEditorViewport::_sinput(const Ref &p_event) { motion = Vector3(scale, scale, scale); } + motion /= click.distance_to(_edit.center); + List &selection = editor_selection->get_selected_node_list(); // Disable local transformation for TRANSFORM_VIEW