This page has been translated automatically.
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Usage Examples
API Reference
Integration Samples
Usage Examples
C++ Plugins
Migrating to UNIGINE 2.0
C++ API Migration
Migrating from UNIGINE 2.0 to UNIGINE 2.1
This version of documentation is OUTDATED! Please switch to the latest one.


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

The mesh_02 sample demonstrates how to deform a static mesh as a dynamic mesh, namely:

  • Load the static mesh from a given file and copy it to the dynamic mesh by using the setMesh() function
  • Deform vertices of the dynamic mesh
  • Add the deformed dynamic mesh as the static mesh to the editor

49 dynamic ObjectMeshes

The static mesh used in this sample is stored in the samples/objects/meshes/mesh_02.mesh file.

See Also

Last update: 2017-07-03
Build: ()