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

Godot 4 - choppy movement when sliding one object around another #66917

Closed
Tracked by #45333
zeravikm opened this issue Oct 5, 2022 · 6 comments
Closed
Tracked by #45333

Godot 4 - choppy movement when sliding one object around another #66917

zeravikm opened this issue Oct 5, 2022 · 6 comments

Comments

@zeravikm
Copy link

zeravikm commented Oct 5, 2022

Godot version

v4.0.beta2.official.f8745f2f7

System information

Windows 11 x86_64, Vulkan API 1.2.0 (mobile renderer), NVIDIA GeForce RTX 2060

Issue description

When sliding CharacterBody3D with capsule collision shape around StaticBody3D with cylindrical collision shape, CharacterBody3D movement is choppy, moving back and forth randomly.

choppy-movement.mp4

scene
code

Steps to reproduce

Run sample project and slide the ship with arrow keys around the island.

Minimal reproduction project

sample-project.zip

(Sample project contains assets from https://kenney.nl/ published under CC0 1.0 Universal Public Domain licence, free to use)

@anyanyang
Copy link

I'm seeing very similar behaviour in a new project, also Godot 4, beta 2. I have a CharacterBody3D with a capsule mesh + collider, sitting on a SphereMesh.

The snappy behaviour for me occurs right at the pole of the sphere, where all the edges meet. In the gif below you'll see me trying to move around smoothly, but struggling in that area around the pole:

snappy

For context, here is the mesh as seen in Godot's preview:

mesh

@Rytelier
Copy link

Rytelier commented Oct 17, 2022

Likely related to the issue here - I have character body also with capsule collider, with gravity programmed in and jumping. And when jumping at colliders, it sometimes gets jitters, push backs, jump being blocked at beginning or even something that looks like teleports (seen at 4th second of the video below)

Godot.character.collision.mp4

@DezBoyle
Copy link

DezBoyle commented Nov 7, 2022

CharacterBody3D.edgebug.mp4

Same issue here -
The CharacterBody3D gets stuck and jitters around when colliding with edges

@evan-gordon
Copy link
Contributor

+1 to this issue. I've got a character body player that has lots of weird interactions when interacting with ConvexPolygonShape3Ds in my game. I've experienced this in every Godot 4 beta version that I've tried. (3, 8, 10, 12)

@rburing
Copy link
Member

rburing commented Jan 27, 2023

The capsule-cylinder collision from the minimal reproduction project in this issue is fixed in 4.0 beta 15. For the other cases reported in the comments here, please check again in the latest beta (since we've had more collision fixes merged recently), and create a new issue with a minimal reproduction project if the problem is still present.

@rburing rburing closed this as completed Jan 27, 2023
@github-project-automation github-project-automation bot moved this from To Assess to Done in 4.x Priority Issues Jan 27, 2023
@prominentdetail
Copy link
Contributor

The capsule-cylinder collision from the minimal reproduction project in this issue is fixed in 4.0 beta 15. For the other cases reported in the comments here, please check again in the latest beta (since we've had more collision fixes merged recently), and create a new issue with a minimal reproduction project if the problem is still present.

Filed a new bug since there are still issues:
#72198

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

No branches or pull requests

9 participants