Hi, my character gets stuck in a shape when their collision shape hits another one, this only happens when the gravity in my game is inverted, how can I fix this? the current system of inverting the gravity is detected by an area2D, which then causes the gravity to change. This doesnt happen when the gravity is normal though
#Player gets stuck in shape when jumping
21 messages · Page 1 of 1 (latest)
this is the player getting stuck in a shape after jumping, it is supposed to come back down to the blue platform
could it be because it thinks it is on floor?
ohh that might actually be it
i dont know how to avoid that though, do you know how?
I am not sure if changing your motion mode to floating would break your game
i'm not too sure, how would I do that though just to try
ah yeah i see
it does mess up all the controls
is there a way I can swap the identity of "floor"?
I don't follow. What do you mean. Make ceiling the floor? I don't know how to do that
not really
I have seen some people programmin stuff like this using raycasts
maybe look up on youtube
alright i'll check it out, thanks
Godot Engine documentation
Inherits: PhysicsBody2D< CollisionObject2D< Node2D< CanvasItem< Node< Object A 2D physics body specialized for characters moved by script. Description: CharacterBody2D is a specialized class for ph...