Hello dear BB-ers, I am working on an endless runner with game play settings "Runner". For some reason my player gets stuck once in a while; it stops moving. I have to press the "jump" key to continue running. I checked the collision boxes of my character and the platforms in debug mode, but I see no problem there. I tried to play with the settings but still the player gets stuck now and than. Is this a glitch? Is it better to use a circle collision box instead of a rectangle collision box in BB? I prefer a rectangle. Thanks in advance.
Well a screenshot would be better to understand anyway in my case it's mostly due to collision shape.
Funny enough, I am finishing a new game I started last week and I end up with the same issue where it gets stuck on the platform. Mine is also a square and as @taimoorjavaid45 said, its a collision issue mostly where the platforms from each scene joins. For me since I did not want to use circle, so the only hack I did was slight raise the character from the ground by a very very tiny inch, so a closer look it appears to be floating but during game play, it appears perfect. Well no one will spend time trying to see if the character is touching the ground, because the game would have been over before they know it
Interestingly Trey mentioned in the Line Zen "Making Of" video that the squares and and their shadows were a performance killer and that was the reason why they switched to circles. Seems as squares dramatically increase the calculation complexity in certain scenarios
Yea raise above the ground and test and see if it gets stuck. Yours might be something else if it happens again. Funny enough, I don't know if gravity will force it to touch the ground during game play Also good to check the height position of the ground between scenes. They must be the same value throughout. Not 100.00 in one and 100.00001 in another
I don't think this is screenshot during game. @tweettopix send screenshot when this gets stuck while enabling debug.