Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Setting Up Development Environment
Usage Examples
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
Double Precision Coordinates
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


UnigineScript is deprecated and will be removed in future releases. Please consider using C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScipt is not guaranteed, as the current level of support assumes only fixing critical issues.

This article describes the data/samples/objects/dynamic_05.cpp sample.

The dynamic_05 sample demonstrates how to copy geometry of a static mesh to a dynamic object.

The material which is used for the dynamic object is specified in the dynamic_05.mat file.

Since the dynamic object requires a custom shader for rendering, in this sample, the shader that is used for a mesh is applied to the dynamic object to avoid creating the new shader.

The left statue is the dynamic object copied from the static mesh (the right statue)

See Also#

Last update: 2020-07-31