This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API Reference
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

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 SpeedControls the oscillation frequency of the trunk. Higher values simulate stronger or more turbulent wind by increasing swaying speed.
Stem Wind OffsetAdds a phase offset to the trunk animation to create variation between instances of the same tree.
Branches SpeedControls the swaying speed of branches relative to the trunk. Higher values simulate lighter, more flexible branches reacting to wind.
Branches OffsetApplies a phase offset to the animation of branches, introducing variation in their motion timing relative to the trunk.
Leaves TilingControls how densely the leaf animation is tiled across the mesh. Higher values create more detailed, repetitive motion.
Leaves SpeedControls the speed of leaf fluttering. Higher values simulate lighter leaves in strong wind.
Leaves OffsetIntroduces 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 DirectionA 2D vector (X, Y) defining wind direction in world space. Used to orient the animation according to wind flow.
Object HeightA 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 SpaceFinal 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
Build: ()