Constraint a char in XY plane

How do i restrict Z movement of char. I tried using Z constraint on rigibody but still when i ragdoll my char it moves in Z plane. So anyway i can only let me char move in xy plane

z constraint should work if you’re moving with physics.
Otherwise, if moving the transform for instance, zero out the z position portion.

2 Likes

Ok figured out since my char is ragdoll i needed to use hips and spine rigidbodies to zero. But now there seems to be another problem. my char seems to get stretched.