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

Animation

Animation Additive Blend#

Additive blending of two animations.

Additive blending is a technique for combining skeletal model animations, enabling smooth transitions and the seamless merging of character or object movements.


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/animation/animation_additive_blend

Animation Lerp Blend#

Linear interpolation of two animations.

Interpolating skeletal animations allows you to create smooth and natural transitions between different character or object movements.


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/animation/animation_lerp_blend

Animation Playback#

Animation playback uses animation layers.

The possibility to control every frame provides boundless opportunities in setting the animation playback.


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/animation/animation_playback

Bones Partial Blend#

This sample demonstrates partial blending between two animations using bone-specific interpolation.

The AnimationPartialInterpolation.cs component plays two skeletal animations simultaneously on a skinned mesh and blends them only for selected bones. The blend weight can be adjusted at runtime using the keyboard.

Use the interpolatedBones array in the Parameters window to define which bones are affected by blending. The ObjectMeshSkinned class is used to apply animation layers and interpolate transforms.


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/animation/bones_partial_blend

Bones Rotation#

This sample demonstrates how to control animation playback and directly modify bone transforms.

The AnimationRotation.cs component plays skeletal animations using .anim files and programmatically applies additional transformations to specific bones. In this example, the shooting animation is blended with the idle animation, while the turret is rotated via code by modifying the transform of a specific joint.

Animations are assigned to separate layers using the ObjectMeshSkinned class. Blending is performed between the idle animation and a dynamically selected shooting animation


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/animation/bones_rotation

Track Playback#


This example demonstrates how to use Tracker to animate objects by changing their position, rotation, and scale through tracks created in the tool.

Tracks in code are referred to via names and IDs.

The TrackPlayback component uses a C# wrapper for Tracker functionality implemented in the Tracker.cs file.


SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/animation/track_playback

The information on this page is valid for UNIGINE 2.20 SDK.

Last update: 2025-06-30
Build: ()