- Home /
Question by
Kalbytron · Nov 21, 2013 at 04:21 AM ·
movementoncontrollercolliderhitledge
onControllerColliderHit ledge issue
I have just started using the onControllerColliderHit function so I can walk at the direction of the sloped floor that the player is standing on. It works great with shallow slopes and ramps, but I would like to limit the walkable angle of the slope it can stand on. Like if the slope is too steep to walk on, the player should just slip right off. Also, I found an issue that I could hang far on a ledge with the capsule mesh on. Is there a way to limit the onControllerColliderHit slope?
Comment