- Home /
Question by
RoloJo · Feb 23, 2017 at 06:36 PM ·
treesterraindatawind
SpeedTrees Remove from terrain causes hitching with wind
The following line causes SpeedTree's to "jerk" or abruptly change the angle that the trees are bent at due to wind, note this does NOT cause any FPS lag at all:
terrain.terrainData.treeInstances = (TreeInstance[])treesOnTerrain.ToArray(typeof(TreeInstance));
I am using the free assets. When I use other assets (Manufactura K4's assets) this doesnt happen with wind. Initially I thought it was the SetHeights call but after testing it out its certainly the combination of that line of code, with a Wind Zone and SpeedTrees.
Anyone know how to remedy this jerking motion when I want to update trees on the terrain?
Comment