In the platform template I noticed that the char will fall off if on the very edge of platforms. Is there a way to prevent this from happening? Is this the desired effect for the template?
It depends on the shape of the collision object of the player. I bet it is a single sphere shape.
You can enable physics debug in game.project too visually check what happens
It is two spheres this is straight from the tutorial code base nothing changed. In the debug I can see the arrows move around moving up the body as it falls and so it seems on the very edge its losing contact and likely falling off because of that.
Well, since it is a single sphere shape the physics resolution code will inevitably let it glide down over the edge. You can remedy it to some extent by reducing the size and adding several spheres at the bottom of the sprite.
1 Like
Thanks