Quick Start
Create Water
- Open your Unity scene.
- Select
Tools/Pixit Games/WaveSync/Create Basic Demo Setup. - A
WaveSync Waterobject is created in the scene. - Press Play to preview the animated water.
The setup creates:
- A
WaveSurfacecomponent. - A default
WaveProfile. - A default water material.
Add a Floating Object
- Place a ship, boat, buoy, or prop in the scene.
- Add a
Rigidbodyto the root object. - Add
WaveBuoyancyto the same root object. - Assign the
WaveSync Waterobject to theSurfacefield. - Add one or more child objects where the object should float.
- Add
WaveFloatPointto each child object. - Use
Auto Assign Float PointsonWaveBuoyancy.
Recommended Float Point Counts
| Object Type | Float Points |
|---|---|
| Small buoy | 1 |
| Floating crate | 1-4 |
| Small boat | 4 |
| Pirate ship | 8-12 |
First Tuning Pass
For most boats and props, lower Buoyancy Strength values feel better than very high values.
Buoyancy Strength: 2 - 6
Point Radius: 0.3 - 1.0
Surface Normal Influence: 0.1 - 0.4
Water Angular Drag: 0.5 - 3
Height Smoothing: 0.05 - 0.35
Normal Smoothing: 0.1 - 0.5