I want to make Rigidbody to jump over stairs steps…of any height…and also small bump. For example…going from Road to Pavement. I don’t want some quick hack like “Put a invisible slope over stairs”.
On searching on Google, I found I should use SphereCast but I never worked with it before. I’ve used RayCast before.
- I don’t get how can I get normal or hitPoint from SphereCast as it’s very thick or sphere type RayCast?*
The image below is what I thought of doing but I don’t know how to find the height and I also don’t what to after raycasting the ray from player’s feet.