How to get a character to hover on certain y level for a swimming system

I’m trying to create a simple swimming system using custom water (a part), kind of like in the MERTO’s video. He is using BodyPosition, which is depracated now, so I have tried some of the roblox’s new tools but I’m very confused with them and none of them seems to do the job of the BodyPosition.

My objective is to get the character to stay on a certain y level (water level), but still be able to move normally along x and z. Also, I’m using custom character.

I have tried using vector force but it seems to affect only when jumping…

1 Like

first use AlignPosition and use MaxAxesForce to change the maxforce on the axises

2 Likes

That’s great, thank you!
Just incase somebody’s wondering this, you need to set the ForceLimitMode property of the AlignPosition to PreAxis to change the MaxAxesForce.

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