NvCloth
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -481,13 +481,13 @@ namespace NvCloth
|
||||
|
||||
if (remappedIndex >= 0)
|
||||
{
|
||||
actorClothSkinning->m_simulatedVertices[remappedIndex] = vertexIndex;
|
||||
actorClothSkinning->m_simulatedVertices[remappedIndex] = static_cast<AZ::u32>(vertexIndex);
|
||||
}
|
||||
|
||||
if (remappedIndex < 0 ||
|
||||
originalMeshParticles[vertexIndex].GetW() == 0.0f)
|
||||
{
|
||||
actorClothSkinning->m_nonSimulatedVertices.emplace_back(vertexIndex);
|
||||
actorClothSkinning->m_nonSimulatedVertices.emplace_back(static_cast<AZ::u32>(vertexIndex));
|
||||
}
|
||||
}
|
||||
actorClothSkinning->m_nonSimulatedVertices.shrink_to_fit();
|
||||
|
||||
Reference in New Issue
Block a user