Files
UnrealEngine/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/PhysicsAssetSimulation.h
2025-05-18 13:04:45 +08:00

22 lines
907 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "CoreMinimal.h"
#include "Chaos/ChaosNotifyHandlerInterface.h"
#include "GeometryCollection/GeometryCollectionSimulationTypes.h"
#include "PhysicsInterfaceDeclaresCore.h"
class AActor;
class FSkeletalMeshPhysicsProxy;
struct FSkeletalMeshPhysicsProxyParams;
class UChaosPhysicalMaterial;
class UPhysicsAsset;
class USkeletalMeshComponent;
struct FPhysicsAssetSimulationUtil
{
static GEOMETRYCOLLECTIONENGINE_API void BuildParams(const UObject* Caller, const AActor* OwningActor, const USkeletalMeshComponent* SkelMeshComponent, const UPhysicsAsset* PhysicsAsset, FSkeletalMeshPhysicsProxyParams& OutParams);
static GEOMETRYCOLLECTIONENGINE_API bool UpdateAnimState(const UObject* Caller, const AActor* OwningActor, const USkeletalMeshComponent* SkelMeshComponent, const float Dt, FSkeletalMeshPhysicsProxyParams& OutParams);
};