Updated November 2026. Written by the Algosyntax team.
Quick answer: a boat game works when the boat and the water agree. You need:
- Water you can ask: the surface height, tilt and flow at any point.
- Buoyancy: several floating points on the hull, with drag and damping.
- Controls: thrust and a rudder, or for sailing, the wind’s angle to the boat.
- Waves that physics and visuals share, and that match on every machine.
- Wind, camera, splashes and sound that sell the sea.
Part 1: Water you can ask
Every boat system asks the same question many times a frame: where is the surface here, which way does it tilt, and how is the water moving? If the waves exist only in a material, nothing can answer.
Epic’s Water plugin answers with Get Water Surface Info At Location on a water body’s component: surface point, normal, velocity and depth. Our Any Water Body answers with one Sample Water Surface call for oceans, lakes and simulated rivers alike. Our water options post compares the choices.
Part 2: Buoyancy
A boat floats on pontoons: a few spheres spread over the hull. Each tick, sample the water at every pontoon, push it up by how much of it is under the surface, and apply that force at the pontoon with Add Force At Location. Off-centre pontoons are what make the boat pitch over a wave and right itself.
- How many: four near the corners for a raft or small boat, six or more along both sides of a long hull.
- How big: the boat floats when the water its pontoons can push aside weighs more than the boat. With exactly enough, it floats fully under. Two to three times that and it rides half out of the water.
- Damping: without drag it bobs forever. Measure drag against the water’s velocity, so a current carries the boat along.
- Stability: if it rolls over too easily, lower the Center Of Mass Offset in its physics settings.
Epic’s Buoyancy component works this way, and so does ours.
Part 3: Boat controls
- Thrust at the propeller, at the stern below the waterline. Only apply it while the propeller is in the water, or the boat accelerates through the air off every wave.
- A rudder whose turning force grows with speed through the water. A stopped boat shouldn’t spin on the spot.
- Sideways drag much stronger than forward drag. That’s what the hull and keel do. Without it, the boat slides like a puck on ice.
Sailing, in plain terms
A sail turns wind into forward push, and how much depends on the angle between the wind and the boat:
- Into the wind: within roughly 45 degrees of it, the sail flaps and there’s no push. To go upwind, the boat zigzags. That’s tacking.
- Close-hauled: as close to the wind as the boat can sail, sail pulled in tight.
- Reaching: wind from the side. Often the fastest point of sail.
- Running: wind from behind, sail let right out. Often slower than a reach.
In a game this is one curve: push by wind angle, zero in the no-go zone and highest on a reach, times wind strength and how well the sail is trimmed. Decide early whether the player trims or only steers.
Part 4: Waves that match what you see
The classic boat bug: the waves are drawn in the material, physics floats the boat on a flat plane, and each wave rolls straight through the hull. Physics and the material must use the same waves at the same time.
The usual fix is to compute the waves on the CPU as well. Epic’s Water plugin builds its ocean from Gerstner waves, a sum of simple waves that’s cheap to evaluate anywhere. Any Water Body generates its ocean from a sea state (wind speed, fetch, swell and a seed), draws it on the GPU and keeps a CPU copy of the same waves for queries, so a boat rides the wave you see.
Part 5: Wind and weather
Use one wind for sails, flags, rain and sea. A squall that bends the trees but leaves the sea flat feels wrong straight away. Our Weather as Gameplay post has ideas for making storms matter.
Our Any Weather plugin runs a gusting wind for the whole level that already moves rain, snow, foliage and cloth, and you can change the weather and wind from a Blueprint node. Feed your sails the same wind values. The sea is usually set separately, so raise the waves when the storm arrives, on every machine.
Part 6: Camera, splashes and sound
- Camera: a Spring Arm with Camera Lag, and Inherit Roll turned off. A camera that copies every roll tilts the horizon and makes players seasick.
- Splashes: spawn bow spray with Niagara when the bow slams down, scaled by its speed, and leave a wake behind the stern.
- Sound: layer the engine or sails, water rushing past by speed, a hull slap on each landing, and wind by wind strength.
Part 7: Multiplayer
- Waves from a synchronised clock: if the waves are a function of settings and time, every machine computes the same sea from the server’s time and nothing about the water needs replicating. Any Water Body’s oceans and lakes work this way, so a boat the server simulates matches the waves each client sees.
- Simulated water: a fluid simulation on each player’s GPU can drift apart between machines. Bake it, or keep gameplay off it.
The boat itself is harder. A common approach is server-run physics with replicated movement, smoothed on clients. Our multiplayer weather tutorial shows the shared-clock idea.
Part 8: Performance
- Count your queries: twenty boats with six pontoons each is 120 surface samples every tick.
- Go cheaper far away: fewer pontoons, or a scripted bob instead of physics.
- Keep physics stable: if boats jitter at low frame rates, try Substepping in Project Settings > Physics.
- Measure first: our profiling guide shows how.
Build it or use a plugin?
Build the boat handling yourself. How a boat turns, accelerates and heels is your game’s feel. The water is plumbing: queries, buoyancy and waves that match on every machine are where Epic’s free Water plugin or a plugin like ours saves weeks. See Build or Buy?
FAQ
Should I use Chaos Vehicles for a boat?
Usually not. Chaos Vehicles is built mainly for wheeled vehicles and has no buoyancy. A boat is easier as a physics body with your own buoyancy, thrust and drag. See Chaos Vehicles or Arcade Physics?
Why does my boat sink, bob forever or flip?
Sinking means the pontoons are too small. Endless bobbing means too little damping. Flipping means the centre of mass is too high or the pontoons are too close together.
Does a sailing game need real sail physics?
No. A curve of push against wind angle feels right to most players. Add heel and trim only if they make it more fun.
Related articles
- Water in Unreal Engine 5: Water Plugin, Fluid Simulation or a Shader?
- Weather as Gameplay: 7 Ways Rain, Fog, Snow and Night Can Change How Your Game Plays
- Chaos Vehicles or Arcade Physics? Choosing Car Handling for Your Game
- How to Sync Time of Day and Weather in Multiplayer (UE5 Blueprints)
- Weather Sounds in Unreal Engine 5: Rain, Wind and Thunder That Follow the Weather