For example, trying to get my character to slide under some stuff. The animation and slide all work great, but since the capsule component is static upright… it blocks the player from sliding under things since even though hes sliding the capsule component moves with him but stays vertical. If i disable collision on the capsule, he falls through the floor of course.
Changing the half height doesnt work right because it makes the capsule smaller but then part of the character’s body falls through the floor since the capsule is centered at his hips and not his feet.
I found a work around
I enable “can crouch” in the movement. Then use the built in “crouch” “uncrouch” functions.
They set the capsule to a smaller size relative to the feet.
Just seems like a silly thing to have to work around. I should be able to set the capsule size to whatever I want, relative to feet OR hips depending on what I’m doing. With this work around, I now have to make all level “sliding” interactions the same height as crouching ones to ensure the capsule makes it underneath. Despite the fact that when sliding, the player is much more horizontal then when crouched, so theoretically should be able to slide under things that crouch wouldn’t normally work for.