UnigineScript
The Language
Core Library
Engine Library
Node-Related Classes
GUI-Related Classes
Plugins Library
High-Level Systems
Samples
C++ API
API Reference
Integration Samples
Usage Examples
C++ Plugins
Content Creation
Materials
Unigine Material Library
Tutorials

BodyRope Class

This class is used to simulate ropes. Unlike the flat BodyCloth, they always preserve the same number of polygons in cross-section as in the source rope mesh. It means, the rope, when twisted, will never appear flat.

BodyRope Class

This class inherits from BodyParticles

Members


BodyRope ()

Constructor. Creates a rope body with default properties.

BodyRope (Object object)

Constructor. Creates a rope body with default properties for a given object.

Arguments

  • Object object - Object represented with the new rope body.
Last update: 2017-07-03