Fixing cloth working with Actors by reading directly from ModelAsset instead from EMFX Mesh. (#235)
- Fixing cloth working with Actors by reading directly from ModelAsset instead from EMFX Mesh. - Actor caches map from joint indices in skin metadata to skeleton indices so they can be query later. - Actor cloth skinning reads indices and weights from Model Asset instead from EMFX Mesh. - Actor cloth skinning with unlimited skinning bones. - Sort out cloth unit tests by disabling them until there is a way to create an Atom mesh - Addressing feedback.
This commit is contained in:
@@ -126,8 +126,7 @@ namespace UnitTest
|
||||
const AZStd::vector<AZ::Vector3>& vertices,
|
||||
const AZStd::vector<AZ::u32>& indices,
|
||||
const AZStd::vector<VertexSkinInfluences>& skinningInfo,
|
||||
const AZStd::vector<AZ::Vector2>& uvs,
|
||||
const AZStd::vector<AZ::Color>& clothData)
|
||||
const AZStd::vector<AZ::Vector2>& uvs)
|
||||
{
|
||||
// Generate the normals for this mesh
|
||||
AZStd::vector<AZ::Vector4> particles(vertices.size());
|
||||
@@ -142,7 +141,6 @@ namespace UnitTest
|
||||
vertices,
|
||||
normals,
|
||||
uvs,
|
||||
clothData,
|
||||
skinningInfo
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user