Javadoc
Toggle character ducking. When ducked the characters capsule collision
shape height will be multiplied by duckedFactor to make the capsule
smaller. When unducking, the character will check with a ray test if it
can in fact unduck and only do so when its possible. You can test the
state using isDucked().