Align Position Y Axis

Hello, I’m trying to make a boat using align position, but it moves the boat to the 3 vectors and I only want it to stay at the y axis. So how can I accomplish this?

Thank you,
@SilentSuprion

You’re probably gonna have to post some script here to get help.

Edit: if you want it to float with physics, you probably have to ignore Y and not set it.

Your script should only be changing the X and Z to move.

1 Like

Oh mb I thought there could be maybe a setting.

Honestly, I’m unsure what to script. Since there’s basically no use for align position I could just constantly set the y position to my desired amount, but I’m still unsure. Basically all I want is a floating position where the boat stays at the desired position.

Your Y position is the only position you won’t need to set. That is the float height. You need to script changing the X and Z. I would suggest you find a simple boat script tutorial on YT and start from there.

This is honestly why it’s better to use BodyPosition, I don’t get why they didn’t include the option to ignore certain Vectors like BodyPosition.

4 Likes

BodyPosition has its own host of issues, since its long depreciated now. Is there anyway to make AlignPosition not be crap?