Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 SUPER (NVIDIA; 31.0.15.4633) - AMD Ryzen 5 5600G with Radeon Graphics (12 Threads)
Issue description
Moving a Parallax2D node using the move tool with grid snap enabled causes a "rubber-banding" effect. The node's scroll offset will still be updated in the inspector but will not appear in the editor window until the position is adjusted using the inspector or the scene is reloaded (eg. via switching tabs).
A few things of note:
Only reproducible if the "grid snap" option is enabled.
Happens despite the ignore_camera_scroll property of the Parallax2D node being set to true.
Happens despite the screen_offset property of the Parallax2D node being unmodified.
Sometimes, the position does immediately appear in the editor. This happens once in the example provided above.
While I did read the following on the documentation page for the Parallax2D node:
Note: Any changes to this node's position made after it enters the scene tree will be overridden if ignore_camera_scroll is false or screen_offset is modified.
...This issue appears to be unrelated. If it is related or intended, I believe the engine should clarify that.
Steps to reproduce
Create a new godot project and open the 2D view.
Create a new Parallax2D node.
Optionally, add a Sprite2Das a child of the Parallax2D node. This will make the effect more visible.
Optionally, set ignore_camera_scroll to true. This does not appear to have any effect, but the documentation says you won't be able to move it otherwise.
Enable grid-snapping in the toolbar.
Select the move tool and attempt to move the Parallax2D node.
This is my first issue here on the Godot repository, apologies if there are any issues! 😊
I will attempt to reproduce the bug in earlier versions of Godot. I am a little busy however so it might take a day or two!
Tested versions
System information
Godot v4.3.stable - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1660 SUPER (NVIDIA; 31.0.15.4633) - AMD Ryzen 5 5600G with Radeon Graphics (12 Threads)
Issue description
Moving a Parallax2D node using the move tool with grid snap enabled causes a "rubber-banding" effect. The node's scroll offset will still be updated in the inspector but will not appear in the editor window until the position is adjusted using the inspector or the scene is reloaded (eg. via switching tabs).
A few things of note:
ignore_camera_scroll
property of the Parallax2D node being set totrue
.screen_offset
property of the Parallax2D node being unmodified.While I did read the following on the documentation page for the Parallax2D node:
...This issue appears to be unrelated. If it is related or intended, I believe the engine should clarify that.
Steps to reproduce
Parallax2D
node.Sprite2D
as a child of theParallax2D
node. This will make the effect more visible.ignore_camera_scroll
totrue
. This does not appear to have any effect, but the documentation says you won't be able to move it otherwise.Parallax2D
node.Minimal reproduction project (MRP)
Parallax2D-moving-bug.zip