FBroadphaseSettings

Settings pertaining to which PhysX broadphase to use, and settings for MBP if that is the chosen broadphase type

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/WorldSettings.h

Include

#include "GameFramework/WorldSettings.h"

Syntax

struct FBroadphaseSettings

Remarks

Settings pertaining to which PhysX broadphase to use, and settings for MBP if that is the chosen broadphase type

Variables

Name Description

Public variable

bool

 

bUseMBPOnClient

Whether to use MBP (Multi Broadphase Pruning

Public variable

bool

 

bUseMBPOnServer

Public variable

bool

 

bUseMBPOuterBounds

Whether to have MBP grid over concentrated inner bounds with loose outer bounds

Public variable

FBox

 

MBPBounds

Total bounds for MBP, must cover the game world or collisions are disabled for out of bounds actors

Public variable

uint32

 

MBPNumSubdivs

Number of times to subdivide the MBP bounds, final number of regions is MBPNumSubdivs^2

Public variable

FBox

 

MBPOuterBounds

Total bounds for MBP, should cover absolute maximum bounds of the game world where physics is required

Constructors

Name Description

Public function

FBroadphaseSettings()