Phazorknight / Cogito

Immersive Sim Template Project for GODOT 4
MIT License
670 stars 72 forks source link

The platform pushes the player off the map if you stand under it #210

Closed Oldos4 closed 3 weeks ago

Oldos4 commented 3 weeks ago

Cogito and Godot Engine Version: Cogito beta 202405.16 Godot 4.2.2

Description: The platform pushes the player off the map if you stand under it

Reproduction steps:

  1. Raise the platform
  2. Stand under it
  3. Lower the platform

Expected behavior: I expected the platform to do damage or push the player to the side

Screenshots: https://youtu.be/Pp1rdnV7Irg

Phazorknight commented 3 weeks ago

Yeah, classic issue of what happens when a collider gets caught between two other colliders, that's an issue in pretty much any engine and it's a bit subjective as to what one expect to happen.

If you make the floor collider thicker, the player will then instead glitch through the platform ending up on top of it.

The expected behaviour/solution to this would be one of these options:

Oldos4 commented 3 weeks ago

Thank you! Both options seems cool

Phazorknight commented 3 weeks ago

Options where provided on how to remedy this issue, so I'm gonna close this.