I am trying to make a sailboat driven by the player with sails that turn as the boat moves according to the wind direction.
I have used Boat Controller by NSdesign Games and got a very effective system to drive a Yacht I modeled in C4D.
However my original plan to use Physics to make the sails turn has gone west because adding any physics colliders to the boat or its sail or boom mess up the Boat Controller floatation bit and the boat sinks. I don’t think I can alter this in Boat Controller.
So, I am wondering how to go about a simple script that would turn the sail and boom on the boat within a limited amount so that the sail is always angled a little away from the wind direction like a real sail would, no matter how the boat is steered the sails turn to align with the wind direction.
I have not found a script example yet that used a constant direction to turn from, only fixed co ordinates, and am wondering if anyone has any ideas how to go about this.
There’s a wheel to turn too, but I think that should be straightforward, its the turning according to a specific world direction thing I am stuck on so far.
Thank you.