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

Describes the shape on an sphere collider. More...

#include <ActorClothColliders.h>

Inherits NvCloth::Collider.

Public Attributes

float m_height = 0.0f
 Height of the capsule.
 
float m_radius = 0.0f
 Radius of the capsule.
 
int m_capsuleIndex = InvalidIndex
 Identifies first index of the capsule within m_capsuleIndices in ActorClothColliders.
 
int m_sphereAIndex = InvalidIndex
 Identifies the first sphere within m_spheres in ActorClothColliders.
 
int m_sphereBIndex = InvalidIndex
 Identifies the second sphere within m_spheres in ActorClothColliders.
 
- Public Attributes inherited from NvCloth::Collider
AZ::Transform m_offsetTransform = AZ::Transform::CreateIdentity()
 Offset transform relative to the joint attached.
 
AZ::Transform m_currentModelSpaceTransform = AZ::Transform::CreateIdentity()
 Current transform in model space after animation applied.
 
int m_jointIndex = InvalidIndex
 Joint this collider is attached to.
 

Detailed Description

Describes the shape on an sphere collider.


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