Physics

Windows
MacOS
Linux

Filters

Classes

Name

Description

Public struct

FBodySetupShapeIterator

Helper struct for iterating over shapes in a body setup.

Public struct

FConstraintBrokenDelegateData

Public struct

FGenericPhysicsInterface

Public struct

FGeometryAddParams

Public struct

FPhysicsActorHandle_PhysX

Public struct

FPhysicsAggregateHandle_PhysX

Public struct

FPhysicsCommand_PhysX

API to access the physics interface.

Public struct

FPhysicsConstraintHandle_PhysX

Public class

FPhysicsDebugMode

Public struct

FPhysicsFilterBuilder

Public struct

FPhysicsGeometryCollection_PhysX

This object is essentially a one-stop container for any geometry a shape can have and is necessary because of the PxGeometryHolder type.

Public struct

FPhysicsInterface_PhysX

Public struct

FPhysicsMaterialHandle_PhysX

Wrapper for internal PhysX materials

Public struct

FPhysicsShapeHandle_PhysX

Public class

FPhysScene_Base

Public class

FPhysScene_PhysX

Container object for a physics engine 'scene'.

Public struct

FSimulationScratchBuffer

Buffers used as scratch space for PhysX to avoid allocations during simulation

Public class

ICCDContactModifyCallbackFactory

Interface for the creation of ccd contact modify callbacks.

Public class

IContactModifyCallbackFactory

Interface for the creation of contact modify callbacks.

Public class

IPhysicsReplicationFactory

Interface for the creation of customized physics replication.

Public class

ISimEventCallbackFactory

Interface for the creation of customized simulation event callbacks.

Constants

Name

Description

NumCollisionChannelBits

Bit counts for Word3 of filter data.

NumFilterDataFlagBits

Typedefs

Name

Description

FInlineShapeArray

Array that is intended for use when fetching shapes from a rigid body.

Enums

Name

Description

Public enum

EPhysXFilterDataFlags

Set of flags stored in the PhysX FilterData

Public enum

PhysicsInterfaceTypes::

Default number of inlined elements used in FInlineShapeArray.

Public enum

PhysicsInterfaceTypes::EDriveType

Public enum

PhysicsInterfaceTypes::ELimitAxis

Functions

Name Description

Public function

uint32

 

CreateChannelAndFilter

(
    ECollisionChannel CollisionChannel,
    FMaskFilter MaskFilter
)

Public function

FCollisionFi...

 

CreateQueryFilterData

(
    const uint8 MyChannel,
    const bool bTraceComplex,
    const FCollisionResponseContainer&...,
    const FCollisionQueryParams& Query...,
    const FCollisionObjectQueryParams&...,
    const bool bMultitrace
)

Utility for creating a PhysX PxFilterData for performing a query (trace) against the scene

Public function

void

 

CreateShapeFilterData

(
    const uint8 MyChannel,
    const FMaskFilter MaskFilter,
    const int32 ActorID,
    const FCollisionResponseContainer&...,
    uint32 ComponentID,
    uint16 BodyIndex,
    FCollisionFilterData& OutQueryData,
    FCollisionFilterData& OutSimData,
    bool bEnableCCD,
    bool bEnableContactNotify,
    bool bStaticShape,
    bool bModifyContacts
)

Utility for creating a FCollisionFilterData for filtering query (trace) and sim (physics) from the Unreal filtering info.

Public function

ECollisionCh...

 

GetCollisionChannel

(
    uint32 Word3
)

Public function

ECollisionCh...

 

GetCollisionChannelAndExtraFilter

(
    uint32 Word3,
    FMaskFilter& OutMaskFilter
)

Public function

uint32

 

GetTypeHash

(
    const FPhysicsShapeHandle_PhysX& I...
)

Public function

void

 

UpdateMaskFilter

(
    uint32& Word3,
    FMaskFilter NewMaskFilter
)

Variables

Name Description

Public variable

PxSimulationFil...

 

GSimulationFilterShader

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback