UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PhysicsObjectBlueprintLibrary.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2#pragma once
3
5
7#include "Math/MathFwd.h"
8
9#include "PhysicsObjectBlueprintLibrary.generated.h"
10
11UCLASS()
13{
15public:
16 UFUNCTION(BlueprintPure, Category = "Physics Object")
17 static FClosestPhysicsObjectResult GetClosestPhysicsObjectFromWorldLocation(UPrimitiveComponent* Component, const FVector& WorldLocation);
18
19 UFUNCTION(BlueprintPure, Category = "Physics Object")
20 static bool ExtractClosestPhysicsObjectResults(const FClosestPhysicsObjectResult& Result, FName& OutName);
21
22 UFUNCTION(BlueprintPure, Category = "Physics Object")
23 static FTransform GetPhysicsObjectWorldTransform(UPrimitiveComponent* Component, FName BoneName);
24
39 UFUNCTION(BlueprintCallable, Category = "Physics Object")
40 static ENGINE_API void ApplyRadialImpulse(UPrimitiveComponent* Component, FVector Origin, float Radius, float Strength, enum ERadialImpulseFalloff Falloff, bool bApplyStrain, float Strain, bool bVelChange = false, float MinValue = 0.f, float MaxValue = 1.f);
41};
ERadialImpulseFalloff
Definition ChaosEngineInterface.h:91
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define GENERATED_BODY(...)
Definition ObjectMacros.h:765
#define UFUNCTION(...)
Definition ObjectMacros.h:745
#define UCLASS(...)
Definition ObjectMacros.h:776
Definition NameTypes.h:617
Definition BlueprintFunctionLibrary.h:16
Definition PhysicsObjectBlueprintLibrary.h:13
Definition PhysicsObjectInterface.h:24