Height raycast bug

Boskic

New member
Lately, I have been working on scaling down my character, and it seems like I broke some properties. Most of the properties I fixed and the character works fine but there is one raycast check that blocks my movement. Please tell me where I can define this raycast based on the sent image. Normally, before reducing size, this raycast was on the character's head.
1709290831493.png
 
That looks like it's the collision ray when the capsule collider height is too tall. Make sure you also adjust your capsule collider.
 
That looks correct. Do you have any other colliders? Just for testing can you create a new character using that mesh and see if it works? I am wondering if there was a property somewhere that was missed.
 
I finally fixed it. The problem was with the box collider on the character's head. I just pulled the collider down a bit and everything worked. It feels like this collider somehow covered raycast but that is a guess. In the end, I decided to remove this collider completely.
 
Top