Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/PhysicsEngine
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/BodyInstance.h |
| Include | #include "PhysicsEngine/BodyInstance.h" |
Syntax
struct FCollisionResponse
Constructors
| Type | Name | Description | |
|---|---|---|---|
FCollisionResponse
(
ECollisionResponse DefaultResponse |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ECollisionResponse | 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 |