Skip to content

When moving with move_and_slide, a Capsule CharacterBody3D collided against StaticBody3D bodies with BoxShape3D shapes, gets stuck and jitters #75647

Description

@alfredbaudisch

Godot version

4.0.2

System information

Windows 10

Issue description

Capsule CharacterBody3D moving with move_and_slide gets stuck between a StaticBody3D with 2x BoxShape3D and keep jittering excessively when trying to move:

CharacterStuck3D.mp4

Trying to move away:

CharacterStuck3D2.mp4

Other issues

This is different from #75399 and #70453 as those ones are related to Convex Hulls stutters and ConcavePolygonShape3D stuck.

Collision setup

imagen

imagen

imagen

Steps to reproduce

  • Add a StaticBody3D and 2 BoxShape3D close to one another
  • Move with a Capsule CharacterBody3D move_and_slide against the StaticBody3D
  • Character will get stuck and jittering in place

Minimal reproduction project

Run project and move forward against the ramp, then hold W to keep moving forward or try to get out of the stuck geometry.

StuckGeometryCollisionBoxShape3D.zip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions