Open 3D Engine NvCloth Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
NvCloth::ActorClothColliders Class Reference

#include <ActorClothColliders.h>

Public Member Functions

 AZ_TYPE_INFO (ActorClothColliders, "{EA2D9B6A-2493-4B6A-972E-BB639E16798E}")
 
 ActorClothColliders (AZ::EntityId entityId)
 
void Update ()
 Updates the colliders' transforms with the current pose of the actor.
 
const AZStd::vector< SphereCollider > & GetSphereColliders () const
 
const AZStd::vector< CapsuleCollider > & GetCapsuleColliders () const
 
const AZStd::vector< AZ::Vector4 > & GetSpheres () const
 
const AZStd::vector< uint32_t > & GetCapsuleIndices () const
 

Static Public Member Functions

static AZStd::unique_ptr< ActorClothCollidersCreate (AZ::EntityId entityId)
 

Detailed Description

Class to retrieve cloth colliders information from an actor on the same entity and updates their transform from skinning animation.

Note
There is a limit of 32 sphere colliders and 32 capsule colliders. In the case that all capsules use unique spheres then the maximum number of capsule would go down to 16, limited by the maximum number of spheres (32).

The documentation for this class was generated from the following file: