bEnable2DPhysics

bEnable2DPhysics

#Overview

name: bEnable2DPhysics

The value of this variable can be defined or overridden in .ini config files. 1 .ini config file referencing this setting variable.

It is referenced in 2 C++ source files.

#Summary

#Setting Variables

#References In INI files

Location: <Workspace>/Engine/Config/BaseEngine.ini:3158, section: [/Script/Engine.PhysicsSettings]

#References in C++ code

#Callsites

This variable is referenced in the following C++ source code:

#Loc: <Workspace>/Engine/Source/Runtime/PhysicsCore/Private/PhysicsSettingsCore.cpp:37

Scope (from outer to inner):

file
function     UPhysicsSettingsCore::UPhysicsSettingsCore

Source code excerpt:

	, bEnableStabilization(false)
	, bWarnMissingLocks(true)
	, bEnable2DPhysics(false)
	, bDefaultHasComplexCollision_DEPRECATED(true)
	, BounceThresholdVelocity(200.f)
	, MaxAngularVelocity(3600)	//10 revolutions per second
	, ContactOffsetMultiplier(0.02f)
	, MinContactOffset(2.f)
	, MaxContactOffset(8.f)

#Loc: <Workspace>/Engine/Source/Runtime/PhysicsCore/Public/PhysicsSettingsCore.h:66

Scope (from outer to inner):

file
class        class UPhysicsSettingsCore: public UDeveloperSettings

Source code excerpt:

	/** Can 2D physics be used (Box2D)? */
	UPROPERTY(config,EditAnywhere,Category = Simulation)
	bool bEnable2DPhysics;

	/**
	*  If true, static meshes will use per poly collision as complex collision by default. If false the default behavior is the same as UseSimpleAsComplex. */
	UPROPERTY(config)
	bool bDefaultHasComplexCollision_DEPRECATED;