Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I’m not sure if it’s RigidBody3D or 2D, but you shouldn’t use RayCast for ground detection. Because it’s a line, not a shape. There’s a chance the player get stuck on an edge, but on_ground won’t be 1. Raycasts are awesome, but this is flawed.

True. But it works for some, including myself.

(+1)

That’s great :D