Table of Contents

Enum PhysicsServer3D.AreaParameter

Namespace
Godot
Assembly
GodotSharp.dll
public enum PhysicsServer3D.AreaParameter : long

Fields

AngularDamp = 8

Constant to set/get the angular damping factor of an area.

AngularDampOverrideMode = 7

Constant to set/get angular damping override mode in an area. See PhysicsServer3D.AreaSpaceOverrideMode for possible values.

Gravity = 1

Constant to set/get gravity strength in an area.

GravityIsPoint = 3

Constant to set/get whether the gravity vector of an area is a direction, or a center point.

GravityOverrideMode = 0

Constant to set/get gravity override mode in an area. See PhysicsServer3D.AreaSpaceOverrideMode for possible values.

GravityPointUnitDistance = 4

Constant to set/get the distance at which the gravity strength is equal to the gravity controlled by Gravity. For example, on a planet 100 meters in radius with a surface gravity of 4.0 m/s², set the gravity to 4.0 and the unit distance to 100.0. The gravity will have falloff according to the inverse square law, so in the example, at 200 meters from the center the gravity will be 1.0 m/s² (twice the distance, 1/4th the gravity), at 50 meters it will be 16.0 m/s² (half the distance, 4x the gravity), and so on.

The above is true only when the unit distance is a positive number. When this is set to 0.0, the gravity will be constant regardless of distance.

GravityVector = 2

Constant to set/get gravity vector/center in an area.

LinearDamp = 6

Constant to set/get the linear damping factor of an area.

LinearDampOverrideMode = 5

Constant to set/get linear damping override mode in an area. See PhysicsServer3D.AreaSpaceOverrideMode for possible values.

Priority = 9

Constant to set/get the priority (order of processing) of an area.

WindAttenuationFactor = 13

Constant to set/get the exponential rate at which wind force decreases with distance from its origin.

WindDirection = 12

Constant to set/get the 3D vector that specifies the direction in which an area-specific wind blows.

WindForceMagnitude = 10

Constant to set/get the magnitude of area-specific wind force.

WindSource = 11

Constant to set/get the 3D vector that specifies the origin from which an area-specific wind blows.