2019-12-26 14:45:42 -05:00
|
|
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
2019-06-08 17:15:34 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "CoreMinimal.h"
|
|
|
|
|
#include "Chaos/ChaosNotifyHandlerInterface.h"
|
|
|
|
|
#include "GeometryCollection/GeometryCollectionSimulationTypes.h"
|
|
|
|
|
#include "PhysicsInterfaceDeclaresCore.h"
|
|
|
|
|
|
|
|
|
|
class AActor;
|
2019-08-02 09:01:58 -04:00
|
|
|
class FSkeletalMeshPhysicsProxy;
|
|
|
|
|
struct FSkeletalMeshPhysicsProxyParams;
|
2019-06-08 17:15:34 -04:00
|
|
|
class UChaosPhysicalMaterial;
|
|
|
|
|
class UPhysicsAsset;
|
|
|
|
|
class USkeletalMeshComponent;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct GEOMETRYCOLLECTIONENGINE_API FPhysicsAssetSimulationUtil
|
|
|
|
|
{
|
2019-08-02 09:01:58 -04:00
|
|
|
static void BuildParams(const UObject* Caller, const AActor* OwningActor, const USkeletalMeshComponent* SkelMeshComponent, const UPhysicsAsset* PhysicsAsset, FSkeletalMeshPhysicsProxyParams& OutParams);
|
|
|
|
|
static bool UpdateAnimState(const UObject* Caller, const AActor* OwningActor, const USkeletalMeshComponent* SkelMeshComponent, const float Dt, FSkeletalMeshPhysicsProxyParams& OutParams);
|
2019-06-08 17:15:34 -04:00
|
|
|
};
|