class ACreateDeformMesh

#include <CreateDeformMesh.h>

class ACreateDeformMesh: public AActor
{
public:
    // fields

    UStaticMeshComponent* StaticMesh = nullptr;
    FName CollisionProfileName = FName(TEXT("SoftBody"));
    UProceduralMeshComponent* center = nullptr;
    UStaticMesh* DeformableMesh = nullptr;
    USkeletalMeshComponent* SkeletalMesh = nullptr;
    ParticleGroupMehod groupMethod;
    bool bEnableDebug = false;
    TArray<ASoftParticleHelper*> particlesList;
    TArray<ASoftParticleHelper*> particlesArray;
    TArray<TArray<ASoftParticleHelper*>> particlesRotationMaping;
    TArray<FVector> TempVertices;
    TArray<FVector> Vertices;

    // methods

    virtual void Tick(float DeltaTime);
};