UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
ChaosNotifyHandlerInterface.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
6#include "UObject/Interface.h"
7#if UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
8#include "Engine/HitResult.h"
9#endif // UE_ENABLE_INCLUDE_ORDER_DEPRECATED_IN_5_4
10#include "ChaosNotifyHandlerInterface.generated.h"
11
12struct FHitResult;
13
14USTRUCT(BlueprintType)
16{
18public:
19
21
22 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Chaos")
23 TObjectPtr<UPrimitiveComponent> Component = nullptr;
24
25 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
26 TObjectPtr<UPrimitiveComponent> OtherComponent = nullptr;
27
29 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
31
33 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
35
36 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
37 FVector AccumulatedImpulse;
38
39 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
41
42 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
43 FVector OtherVelocity;
44
45 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
47
48 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
49 FVector OtherAngularVelocity;
50
51 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
52 float Mass;
53
54 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Chaos")
55 float OtherMass;
56};
57
59
61UINTERFACE(BlueprintType, MinimalAPI)
66
82
83
84
88UCLASS(MinimalAPI)
90{
92public:
93
94 UFUNCTION(BlueprintPure, Category = "Chaos", meta = (WorldContext = "WorldContextObject"))
95 static CHAOSSOLVERENGINE_API FHitResult ConvertPhysicsCollisionToHitResult(const FChaosPhysicsCollisionInfo& PhysicsCollision);
96};
@ Normal
Definition AndroidInputInterface.h:116
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define DECLARE_DYNAMIC_MULTICAST_DELEGATE_OneParam(DelegateName, Param1Type, Param1Name)
Definition DelegateCombinations.h:53
#define UPROPERTY(...)
UObject definition macros.
Definition ObjectMacros.h:744
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UINTERFACE(...)
Definition ObjectMacros.h:780
#define GENERATED_IINTERFACE_BODY(...)
Definition ObjectMacros.h:770
#define GENERATED_UINTERFACE_BODY(...)
Definition ObjectMacros.h:769
#define UCLASS(...)
Definition ObjectMacros.h:776
#define USTRUCT(...)
Definition ObjectMacros.h:746
Definition ChaosNotifyHandlerInterface.h:68
virtual void NotifyPhysicsCollision(const FChaosPhysicsCollisionInfo &CollisionInfo)
Definition ChaosNotifyHandlerInterface.h:73
CHAOSSOLVERENGINE_API void HandlePhysicsCollision(const FChaosPhysicsCollisionInfo &CollisionInfo)
Definition ChaosNotifyHandlerInterface.cpp:13
virtual void DispatchChaosPhysicsCollisionBlueprintEvents(const FChaosPhysicsCollisionInfo &CollisionInfo)
Definition ChaosNotifyHandlerInterface.h:76
Definition Interface.h:25
Definition BlueprintFunctionLibrary.h:16
Definition ChaosNotifyHandlerInterface.h:63
Definition ChaosNotifyHandlerInterface.h:90
Definition Interface.h:19
Definition SkeletalMeshComponent.h:307
Definition ChaosNotifyHandlerInterface.h:16
Definition HitResult.h:21
FVector_NetQuantize Location
Definition HitResult.h:45
Definition ObjectPtr.h:488