@altria "Thank you for all the great ideas, especially the Visible Collision Shapes which I can immediately implement. When I watch other YouTube videos, it seems like they simply click the onewayCollision button and it works flawlessly. I'm not sure what's wrong with mine and it's quite puzzling."
undefined
RacoonClub
@RacoonClub
Posts
-
-
hi,
I'm using the one-way collision feature of CollisionShape2D in Godot to create a jump mechanic for my character. However, I've encountered an issue where the character gets stuck in the platform when jumping. Interestingly, when I adjust the margin value to 100, the character doesn't get stuck, but instead moves very unnaturally, almost teleporting. I'm uncertain about the cause of this behavior.
- I'm using Godot version 3.52 mono, mac m1 pro, Ventura 13.3.
- The character is a KinematicBody2D and the platform is a StaticBody2D.
- Through various tests, I found that if the character jumps slightly grazing the edge of the platform, the movement seems smooth and natural.
Does anyone have ideas or suggestions on how to resolve this?
Stuck my character when using one way collision
Stuck my character when using one way collision