Tree Animation Node
Description
This node simulates dynamic wind-based bending animation for tree models by deforming vertex positions in tangent space. Vertex color channels are used to define areas of the mesh (trunk, branches, leaves) and assign them specific animation behavior.
You can find usage examples for this node in the Vegetation -> Tree Animation Sample material graph sample.
Usage Example
Ports
Name | Description | |
---|---|---|
![]() | Stem Speed | Controls the oscillation frequency of the trunk. Higher values simulate stronger or more turbulent wind by increasing swaying speed. |
![]() | Stem Wind Offset | Adds a phase offset to the trunk animation to create variation between instances of the same tree. |
![]() | Branches Speed | Controls the swaying speed of branches relative to the trunk. Higher values simulate lighter, more flexible branches reacting to wind. |
![]() | Branches Offset | Applies a phase offset to the animation of branches, introducing variation in their motion timing relative to the trunk. |
![]() | Leaves Tiling | Controls how densely the leaf animation is tiled across the mesh. Higher values create more detailed, repetitive motion. |
![]() | Leaves Speed | Controls the speed of leaf fluttering. Higher values simulate lighter leaves in strong wind. |
![]() | Leaves Offset | Introduces variation to the timing and direction of leaf motion. This avoids uniform fluttering and adds a more organic, chaotic feel to the canopy, as if individual leaves are responding to subtle air currents. |
![]() | Wind Direction | A 2D vector (X, Y) defining wind direction in world space. Used to orient the animation according to wind flow. |
![]() | Object Height | A multiplier based on tree height. Taller trees sway more noticeably under wind influence. |
![]() | Stem Time Offset (Sec) | Delays the trunk animation start (in seconds), helping desynchronize tree instances. |
![]() | Branches Time Offset (Sec) | Offsets the branch animation relative to the trunk's animation. This timing offset simulates the natural lag between trunk movement and how branches react to it. |
![]() | Vertex Offset Tangent Space | Final vertex offset in tangent space, used to deform the mesh based on wind animation. |
The information on this page is valid for UNIGINE 2.20 SDK.
Last update:
2025-04-04
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)