Action disabled: source
Crest Water Data Provider
Dynamic Water Physics 2 is compatible with Crest v10 or newer. Older versions have different API.
Crest supports water heights, normals and flows.
Crest Import
- Download and import Crest and Crest-Examples from here. For HDRP and URP version check Unity Asset Store.
- Open Crest-Examples โ Main โ Scenes โ main scene.
- Remove the existing boat from the scene.
Adding a CrestWaterDataProvider
- Add
DWP_CRESTandDWP_CREST_5(only if using Crest 5) to Project Settings > Player > Scripting Define Symbols. - Find the
GameObjectcontaining theCrestWaterRenderer(Crest 5) orOceanRenderer(older versions) component. - Attach
CrestWaterDataProviderto the object.
Adding a WaterObject
- Drag
Racerprefab 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 Crestand there are no errors or warnings.
