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

Initiating physics in _input resets position to zero #289

Open
OscarCookeAbbott opened this issue Oct 19, 2024 · 0 comments
Open

Initiating physics in _input resets position to zero #289

OscarCookeAbbott opened this issue Oct 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@OscarCookeAbbott
Copy link

Describe the bug

Spawning or re-enabling or adding impulses in _input causes the affected physics to reset its position to global (0, 0).

To Reproduce

Spawn or un-freeze (via process mode) any rigidbody during _input at a non-zero global position.

Expected behavior

Rigidbody would spawn and begin simulating from its initial position.

Environment:

  • OS: macOS
  • Version: 15.0.1
  • Godot Version: 4.3.stable.official
  • Type: Fast 2D

rapier-zero-bug.zip

@OscarCookeAbbott OscarCookeAbbott added the bug Something isn't working label Oct 19, 2024
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