Click or drag to resize

Physics2DServerAreaSpaceOverrideMode Enumeration

[Missing <summary> documentation for "T:Godot.Physics2DServer.AreaSpaceOverrideMode"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum AreaSpaceOverrideMode
Members
  Member nameValueDescription
Disabled0

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

Combine1

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.

CombineReplace2

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.

Replace3

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

ReplaceCombine4

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

See Also