Navigation
API > API/Runtime > API/Runtime/Chaos
DEPRECATED STUFF BELOW HERE.
Copyright Epic Games, Inc.All Rights Reserved.
This is a proxy for not allowing the above to be checked in - CIS should fail if it is left enabled.
Default settings implementation.
Supported flags for Chaos filter, shares some flags with EPhysXFilterDataFlags Shared flags should be kept in sync until unified. LEGACY CODE Kept around for serialization of old data. Most of the API has been removed, except what is needed to convert to the new format. See ConvexHalfEdgeStructureData.h for the replacement.
This is an approximation but only collides with spheres in the velocity direction which can hurt compared to all directions when it comes to thickness
| Name | Chaos::EDamageEvaluationModel |
| Type | enum |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDRigidClusteringTypes.h |
| Include Path | #include "Chaos/PBDRigidClusteringTypes.h" |
Syntax
namespace Chaos
{
enum EDamageEvaluationModel
{
StrainFromDamageThreshold,
StrainFromMaterialStrengthAndConnectivity,
}
}
Values
| Name | Remarks |
|---|---|
| StrainFromDamageThreshold | Particles internal strains are set from user defined damage thresholds It's a simple model, fast to evaluate , but can be set to be non realistic and may require more fine tuning |
| StrainFromMaterialStrengthAndConnectivity | Particle internal strains are set from the strength properties of the physics material and the surface area of connection of a piece to another this is as fast as the damage threshold to evaluate but provide a more realistic model and allow for simpler tuning based on material |