Stick player rotaion

Hello,
I was creating 2.5d game and my character of the game are all ragdoll converted or i will convert them later , Just want to ask -

I move my character in x and y position (like bounce) and it goes to z position (is it ok if i use update to stick on that z position ??

and the main thing is my character rotation , It’s 2d camera so i want my character to stick front body and face towards screen and it changes the rotation cause physics . like if it collide and it changes the rotation , how to i lock it’s rotation on like just rotate on single axis and not rotate to show it’s back .

Hey guys take a look here and please let me know soon

Can you give any more details about this? What type of game. How the characters move. What’s going wrong…

1 Like

Sure i will , Just want my player on the same position and on that picture angle , Like i dont want to rotate 3d just face forward and act like ragdoll on same z axis . just forward-backward , up-down

2347057--158869--Untitled.png

Can you constrain the rigidbody?

No i don’t know how to , Please share with me how do i do so , Is there the option inside the rigidbody.

I got the way to use constrains , that’s it all i wanted , thanks Mr.Adam.