Navigation
API > API/Runtime > API/Runtime/Engine
Interface representing the owner of a FBodyInstance (used when the owner is not an UPrimitiveComponent).
| Name | IPhysicsBodyInstanceOwner |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h |
| Include Path | #include "PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h" |
Syntax
class IPhysicsBodyInstanceOwner
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IPhysicsBodyInstanceOwner() |
PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
ECollisionResponse GetCollisionResponseToChannel
(
ECollisionChannel Channel |
Gets the response type given a specific channel. | PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h | |
void GetComplexPhysicalMaterials
(
TArray< UPhysicalMaterial* >& OutPhysMaterials, |
Get the complex PhysicalMaterials array for this body (used by FBodyInstance::GetComplexPhysicalMaterials). | PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h | |
UPhysicalMaterial * GetPhysicalMaterial() |
Find the correct PhysicalMaterial for simple geometry on this body (used by FBodyInstance::GetSimplePhysicalMaterial). | PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h | |
UObject * GetSourceObject() |
Source object for this body. | PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h | |
bool IsStaticPhysics() |
Whether the physics is static. | PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static IPhysicsBodyInstanceOwner * GetPhysicsBodyInstandeOwnerFromHitResult
(
const FHitResult& Result |
Returns the IPhysicsBodyInstanceOwner based on a given hit result. | PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h | |
static IPhysicsBodyInstanceOwner * GetPhysicsBodyInstandeOwnerFromOverlapResult
(
const FOverlapResult& OverlapResult |
Returns the IPhysicsBodyInstanceOwner based on a given overlap result. | PhysicsEngine/PhysicsBodyInstanceOwnerInterface.h |