This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
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
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: ()