I'm playing around with Cogito and I'm confused by how some of the collisions are behaving.

My layers are set up as:
1 - Environment
2 - Interactables
3 - Player

I have a CogitoPlayer scene which extends CharacterBody3D and a CogitoObject scene (the garbage bag in the attached video) which extends Node3D and I've given it a ConvexPolygonShape3D collision shape.

The player's layers are set up as:

  • Layer 3
  • Mask 1, 2

The garbage bag's layers are set up as:

  • Layer 2
  • Mask 1, 2

My expectation is that the the player should not move the bag, but the bag should be to act upon the player. IE: If the player jumps on the bag they should be standing on top of it, but the bag itself should not move due to player movement.

However, when I run up to the bag, it pushes the bag away from me, seemingly the bag is detecting a collision with the player. As far as I can tell this was an old issue in Godot that was fixed in this proposal https://github.com/godotengine/godot-proposals/issues/2775 in 2021. I'm using Godot 4.3.

Is there something I'm missing? Why doesn't the fix in the proposal seem to be working for me?

  • xyz replied to this.
  • Yeah this is definitely something in the plugin, thanks. I reproduced the same example with and without the addon and I see different behaviours. Thanks for your help, I'll take the issue over to the cogito github page.

    hlzachar Character body should slide around rigid bodies. Maybe its the plugin issue. Can you make a minimal reproduction project?

    Yeah this is definitely something in the plugin, thanks. I reproduced the same example with and without the addon and I see different behaviours. Thanks for your help, I'll take the issue over to the cogito github page.