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

Move sync to physics to StaticBody2D #49327

Merged
merged 1 commit into from
Jul 15, 2021

Conversation

pouleyKetchoupp
Copy link
Contributor

Now static body is used for moving platforms through kinematic motion property (PR #48908), so sync to physics needs to be in StaticBody2D instead of CharacterBody2D.

Constant kinematic motion is also supported in combination with sync to physics for smoother movements (when combining sync_to_physics, kinematic_motion and constant_linear_velocity properties).

Now static body is used for moving platforms through kinematic motion
property, so sync to physics needs to be in StaticBody2D instead of
CharacterBody2D.

Constant kinematic motion is also supported in combination with sync to
physics for smoother movements.
@akien-mga akien-mga merged commit 7aa44be into godotengine:master Jul 15, 2021
@akien-mga
Copy link
Member

Thanks!

@pouleyKetchoupp pouleyKetchoupp deleted the sync-to-physics-2d branch July 16, 2021 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants