I have imported a terrain with basic scenery such as flowers and grass. In my code, I am attempting to change the wind properties of the terrain at runtime. However, I am experiencing a jerky and unsmooth transition when fluctuating wind properties.
var terrainData = _terrain.GetComponent<Terrain>().terrainData;
terrainData.wavingGrassSpeed = 0.2f;
terrainData.wavingGrassStrength = 0.2f;
terrainData.wavingGrassAmount = 0.1f;
Is there a way to gradually change the wavingGrassSpeed, wavingGrassStrength , and wavingGrassAmount properties of the Terrain? I just want to make it look more natural and fluid.
Thank you for any assistance you may provide.