Screenshot of demo scene for DWP2 with Crest.
Dynamic Water Physics 2 is compatible with Crest v10 or newer. Older versions have different API.
Crest Import
Download Crest from the Unity Asset Store.
Open Crest-Examples ⇒ Main ⇒ Scenes ⇒ main scene.
Remove the existing boat from the scene.
Adding a CrestWaterDataProvider
Find the GameObject
containing the OceanRenderer
component.
Attach CrestWaterDataProvider
to the object.
Attach SphereCollider
to the object and tick Is Trigger
(any collider can be used).
Set the radius/size of the collider to cover the play area. This can be set to near infinite if the ocean is to cover the whole world.
Adding a WaterObject
Drag Racer
prefab into the scene.
Press play. The boat will now float and follow the waves properly. If this is not the case check that the console states DWP: Using Crest
and there are no errors or warnings.