Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
Include | #include "PhysicsEngine/BodyInstance.h" |
Syntax
USTRUCT ()
struct FCollisionResponse
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
FCollisionResponse
(
ECollisionResponse DefaultResponse |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
FORCEINLINE_DEBUGGABLEECollisionResponse | GetResponse
(
ECollisionChannel Channel |
Returns the response set on the specified channel |
![]() ![]() |
const FCollisionResponseContainer & | ||
![]() |
bool | ReplaceChannels
(
ECollisionResponse OldResponse, |
Replace the channels matching the old response with the new response |
![]() |
bool | SetAllChannels
(
ECollisionResponse NewResponse |
Set all channels to the specified response |
![]() |
bool | SetCollisionResponseContainer
(
const FCollisionResponseContainer& InResponseToChannels |
Set all channels from ChannelResponse Array |
![]() |
bool | SetResponse
(
ECollisionChannel Channel, |
Set the response of a particular channel in the structure. |
![]() |
void | SetResponsesArray
(
const TArray< FResponseChannel >& InChannelResponses |
|
![]() |
void |
Operators
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
bool | operator!=
(
const FCollisionResponse& Other |
|
![]() ![]() |
bool | operator==
(
const FCollisionResponse& Other |