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

Reparent randomly ignoring the keeptransform flag and reseting the position to the new parent's node #338

Open
Likaos opened this issue Jan 27, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@Likaos
Copy link

Likaos commented Jan 27, 2025

Describe the bug

Reparenting a node 2 while setting physics to rapier2D is randomly resetting the position to the new parent, like if keep globaltransform is ignored
The reparent position is conserved in the same tick but reset to the parent on the next tick

To Reproduce

Use the project and click on the drop button, the default physic is rapier, you can after that try using the godot base physics

Expected behavior

The reparent should keep the global transform when set to true and not be reset to the parent position

Environment:

  • OS: W11
  • Version: latest
  • Godot Version: 4.3
  • Type: 2D

Example project(zip)
rapiderreparent.zip

@Likaos Likaos added the bug Something isn't working label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant