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

KinematicBody collision doesn't update when parent moves and Sync To Physics is enabled #43236

Open
Tracked by #45334
Ryhon0 opened this issue Oct 31, 2020 · 0 comments

Comments

@Ryhon0
Copy link

Ryhon0 commented Oct 31, 2020

Godot version:
3.2.3

OS/device including version:
Artix Linux, Ryzen 3600, GTX 1050Ti

Issue description:
GIF demonstrating this issue:
kinematic

When you enable Sync To Physics on a KinematicBody (only tested 2D, likely happens in 3D too) and move the parent, the collision of the body doesn't update, the "Visible Collision Shapes" option shows incorrect position of the collision.
One workaround is to set the position property to any value.

Steps to reproduce:

  • Create a KinematicBody2D
  • Check "Sync To Physics" in the Motion tab
  • Move the parent of the created KinematicBody
  • Try to collide with the KinematicBody

Minimal reproduction project:
SyncToPhysics.zip

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

No branches or pull requests

3 participants