Is there a way to dynamically update trees' height when, for example, the terrain is deformed?
If you're using TreeLoader2D, all you have to do is use PagedGeometry::reloadGeometryPage() or PagedGeometry::reloadGeometry() to force PagedGeometry to reload the trees in the desired area. Since TreeLoader2D calculates heights from the terrain automatically, the tree heights will be automatically readjusted to the terrain.
If you're using TreeLoader3D, it will be a little more difficult; you'll basically need to delete and re-add the affected trees at the desired positions.
Thanks, everything works now!