Locking players on the x and Y axis in water

I have replaced the swim idle and swimming animation with my own custom one.

How ever I have a problem with the swimming animation. Since the player moves with the camera, it messes up the animation. This is how to swimming animation is meant to look like:

and this is how it looks in game:

Is there a way to prevent players from turning upwards, on the Z axis when the camera moves up and down?

1 Like

Can you try using the Upload button to add your media?
image

2 Likes

right, sorry. They are now embedded

2 Likes

so, you just want the character to face one direction?

image

Disable this in your players humanoid

The issue still occurs and now I cant turn at all when I walk around at spawn

mm ok then, that didnt work. What if you made your swim animation the same as the swim idle?

Im not sure of a custom property that deals with the movement and rotation of swimming specifically. maybe you’ll have to use a script to get the results you are looking for.

Regardless It looks wonderful, whatever it is that you’re making.

Thank you, I appreciate your help

1 Like

I have updated the post incase anyone has a solution.

you may need to move it to #help-and-feedback:scripting-support

All good! I have solved it finally. The issue was the animation orientation. I rotated it and it’s all good now

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.