Hello there,
I have set up a little game in which I'm going to have characters of different sizes. I'm currently working on a tall character and its crouching ability.
Setting the player size worked using this code in my player pawn:
So far so good. However, if I'm moving the character and press crouch the character simply stops and only goes halfway into crouching. How can I fix this?
Also, I get the landing sound when crouching while the character is standing still. I assume that's because the character is rather tall (and therefore "falling" when crouching) but how would I get rid of the sound?
Any help would be greatly appreciated!
I have set up a little game in which I'm going to have characters of different sizes. I'm currently working on a tall character and its crouching ability.
Setting the player size worked using this code in my player pawn:
Begin Object Name=CollisionCylinder
CollisionRadius=+0021.000000
CollisionHeight=+00132.000000
End Object
CylinderComponent=CollisionCylinder
BaseEyeHeight=114.0
EyeHeight=114.0
CrouchHeight=87.0
CrouchRadius=21.0
So far so good. However, if I'm moving the character and press crouch the character simply stops and only goes halfway into crouching. How can I fix this?
Also, I get the landing sound when crouching while the character is standing still. I assume that's because the character is rather tall (and therefore "falling" when crouching) but how would I get rid of the sound?
Any help would be greatly appreciated!