Sailboat Prototype

I wanted to find out, if it was be possible to build a sailboat in Cloud Party. One of the content creators was kind to build a simple reference sailing ship. It didn’t support collisions, advanced sailing physics or even keyboard controls, but still it was an exciting experience and I’m thankful for his demo and helpfulness.

One of the Cloud Party developers gave me some ideas, how to start the sailboat project. I made a simple sailboat prototype mesh and script, to see how a simulated floating vehicle would behave. However, the first challenge was to make the sailboat float. Since the Cloud Party physics doesn’t know the water level, water doesn’t have any effect on the boat. A natural consequence of this was, that the boat sank like a stone, that was a quite discouraging experience. :(

But it doesn't float...

But it doesn’t float…

The only solution, to prevent the boat from sinking, was to disable gravity and simulate floating behavior in the sailboat script. That may not be the most elegant solution, but currently we don’t have anything else. Since keyboard controls (namely the arrow keys) can’t be dispatched to the boat script, the sailboat was controlled with local chat commands.

Here we go!

Here we go!

Eventually the boat moved, turned and heeled without major issues. At moment the boat is closer to a motorboat than a sailboat. Still, I’m happy that the proof of concept succeeded!

Next it’s time to replace the ad-hoc physics of the prototype with something more realistic and try make the boat use wind. If Cloud Party development team added a feature, to control simulated vehicles with keyboard, we should have all needed ingredients, to put together a usable sailboat. One day we will be there. :)

Walking on the deck as the boat moves

Walking on the deck as the boat moves