This page has been translated automatically.
UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials
Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Warning! This version of documentation describes an old SDK version which is no longer supported! Please upgrade to the latest SDK version.

dynamic_05

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.

Notice
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: 2017-07-03
Build: ()