Closed Yhac10 closed 9 months ago
sometimes happens when cubes are at certain positions, can you show where it happens ?
Whole Map Part's where bug happened
Show a video of it happening?
sure
I could be wrong about the player falling through the floor, as all that happens is that the player go's somewhere with no sign of floor, or wall.
Weird. Can you try to get a text and set the text to the z of your player? Then see if it's going up or down
I checked using the debugger. At the start of the scene the Z position of the player was 1. When the glitch happened, it was -656.
Alright that's odd. Can you show me all the events regarding the extension?
Okay. And just for good measure, here's the setup for the player.
I think you could put the pickup value at 8. And if that doesn't change anything, im gonna do a rework to the extension
Tried it, and nothing changed. Although now I can confirm that the player falls as after refreshing the debugger multiple times, the Z position would decrease more and more.
Alright, soon ill have to fix that somehow. Even though i dont know exactly what the problem is.
Maybe it could have something to do with the position of the wall
Ok, after doing some testing, I found out the glitch happens when you touch a corner. It also seems to happen at any camera angle except for the default one. Here are the events for the camera controls (they're taken from a Gdevelop template)
I see, weird things might happen depending on the angle of the player. I just change the cameras angle by itself.
Ok. Thanks for the advice.
No problem, ima need to fix that glitch though. Since it shouldn't happen, so im gonna have to rework the events to make it better.
I think I found a bug. While testing movement, I found that if I moved my camera to a certain position, while the player was touching a wall, the player will fall through the floor. I tried fixing it by increasing pickup range, but that didn't seem to work (I set pickup range to 16, with fall speed being 4).