What I am trying to do right now is make my boat float on mesh deformation water. I do not wanna use terrain water due to limitations. Currently I’m setting the position of the boat, but I still want to have the boat be able to be driven. How would I achieve this? I tried to use align position but the boat spun around wildly for no reason.
If you don’t know what I’m talking about when I say mesh deformation water:
Bump
character limit aaaaaaaaaaaaaa
Uh well this is a bit of a tricky one. Not really but somewhat, I suppose.
You could use the new LineForce for floating and whatever the crappy new alternative to BodyGyro is for stabilizing it. Just use modifications to the LineForce or another LineForce for sailing. You’ll likely need an AlignRotation in there so the boat doesn’t just do a funny moonwalk in the water in a single direction.
edit: For clarification, I have no idea
But this is based on what I do know to some extent.
What you are really making here is a hovercraft. I’d suggest searching up scripts for helicopters and maybe modify that to work for your boat(or get ideas from how it works). Its basically a helicopter that can’t fly, it will just hover at your water height, but moves and turns similarly(sort of).
Then merge in what you’ve got now for the height position.
I’ve figured it out, its still needs a bit of touching up but it seems to work. I have used a vector force for this and I check if the boat is above or below the wave, and then tween the Y force accordingly. Making it move will be incredibly straight forward from this point.