This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Браузер SDK 2
Лицензирование и типы лицензий
Дополнения (Add-Ons)
Демонстрационные проекты
API Samples
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
Унифицированный язык шейдеров UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
Справочник API
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
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

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: 04.04.2025
Build: ()