IN THIS ARTICLE
NVIDIA Cloth Gem
Physical cloth simulations can create more immersive environments and characters. The NVIDIA Cloth Gem uses the NVIDIA Cloth library to provide fast, robust cloth simulation in Open 3D Engine.
For information on using NVIDIA Cloth, see Simulate cloth with NVIDIA Cloth.
The NVIDIA Cloth Gem provides the following:
Cloth modifier for Mesh and Actor import in FBX Settings.
Cloth component for entities that contain a Mesh or Actor component.
Cloth colliders that can be added to actors in Animation Editor.
Mesh and Actor example assets and prefabs located in:
A public C++ API that allows other systems and Gems to access cloth simulation functionality.
To enable the NVIDIA Cloth Gem, do the following:
Use Project Manager to add the NVIDIA Cloth Gem to your project. The NVIDIA Cloth Gem requires the following Gems as dependencies:
Emotion FX Animation
Configure the build:
cmake -B <CMake build dir> -S . -G "Visual Studio 16"Note:Use
Visual Studio 16as the generator for Visual Studio 2019, and
Visual Studio 17for Visual Studio 2022. For a complete list of common generators for each supported platform, refer to Configuring projects.
Build your project:
cmake --build <CMake build dir> --target <Project name> --config profile -- -m