Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Position moves when resizing BoxShape3D using grab handles #80685

Closed
balloonpopper opened this issue Aug 16, 2023 · 1 comment · Fixed by #80689
Closed

Position moves when resizing BoxShape3D using grab handles #80685

balloonpopper opened this issue Aug 16, 2023 · 1 comment · Fixed by #80689

Comments

@balloonpopper
Copy link

balloonpopper commented Aug 16, 2023

Godot version

4.2.dev3

System information

Windows 10

Issue description

Testing 4.2 dev 3, when I resize a BoxShape3D (as seen in #71092) , the position of the BoxShape moves as well. If the parent of the BoxShape3D is located at (0,0,0), then the BoxShape resizes (but doesn't move) as expected.
If the parent of the BoxShape3D is not (0,0,0), resizing the shape sees the position change unexpectedly.

Resize works as expected if the parent node is at (0,0,0)
Resize works correctly if you edit the size values in the inspector, it's only grabbing the handles with the mouse that causes the position to change.

Steps to reproduce

Create a new 3D scene.
Move the Node3D root to any location (eg. (1,0,1))
Create a CollisionShape3D child of the Node3D
Configure the CollisionShape3D as a BoxShape3D
Pull any of the grab handles to resize the Box
The Box will move as well as resize when it should only resize

Minimal reproduction project

boxshape-resize

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants