Table of Contents

Enum PhysicsServer2D.AreaSpaceOverrideMode

Namespace
Godot
Assembly
GodotSharp.dll
public enum PhysicsServer2D.AreaSpaceOverrideMode : long

Fields

Combine = 1

This area adds its gravity/damp values to whatever has been calculated so far. This way, many overlapping areas can combine their physics to make interesting effects.

CombineReplace = 2

This area adds its gravity/damp values to whatever has been calculated so far. Then stops taking into account the rest of the areas, even the default one.

Disabled = 0

This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them.

Replace = 3

This area replaces any gravity/damp, even the default one, and stops taking into account the rest of the areas.

ReplaceCombine = 4

This area replaces any gravity/damp calculated so far, but keeps calculating the rest of the areas, down to the default one.