Freeze rotation rigidbody

How to freeze rotation for rigidbody 3D?I don’t see the option to do fixed rotation.

You can set angular factor of rigidbody to (0,0,0) to freeze rotation

This doesn’t work, my rigidbody still falls when moved

Can you show me what you want and what you get?

I’m trying to do standard player movement
However, the player’s body falls when moving

I tested it, It never fall.

I set it like this.
image

wow, this helped, by mistake I changed the value in the code, but I should have done it in the editor itself