From e806397196968cdfc97c1e53bb5cd208e40ae9b2 Mon Sep 17 00:00:00 2001 From: Jeffrey Cochran Date: Tue, 20 Jul 2021 00:23:32 -0400 Subject: Enabled area-specific wind forces --- doc/classes/Area3D.xml | 9 +++++++++ doc/classes/PhysicsServer3D.xml | 12 ++++++++++++ 2 files changed, 21 insertions(+) (limited to 'doc/classes') diff --git a/doc/classes/Area3D.xml b/doc/classes/Area3D.xml index 2180196bb5..e91cfd79a1 100644 --- a/doc/classes/Area3D.xml +++ b/doc/classes/Area3D.xml @@ -92,6 +92,15 @@ Override mode for gravity and damping calculations within this area. See [enum SpaceOverride] for possible values. + + The exponential rate at which wind force decreases with distance from its origin. + + + The magnitude of area-specific wind force. + + + The [Node3D] which is used to specify the the direction and origin of an area-specific wind force. The direction is opposite to the z-axis of the [Node3D]'s local transform, and its origin is the origin of the [Node3D]'s local transform. + diff --git a/doc/classes/PhysicsServer3D.xml b/doc/classes/PhysicsServer3D.xml index d46e38ac5f..33eb0de698 100644 --- a/doc/classes/PhysicsServer3D.xml +++ b/doc/classes/PhysicsServer3D.xml @@ -1222,6 +1222,18 @@ Constant to set/get the priority (order of processing) of an area. + + Constant to set/get the magnitude of area-specific wind force. + + + Constant to set/get the 3D vector that specifies the origin from which an area-specific wind blows. + + + Constant to set/get the 3D vector that specifies the direction in which an area-specific wind blows. + + + Constant to set/get the exponential rate at which wind force decreases with distance from its origin. + This area does not affect gravity/damp. These are generally areas that exist only to detect collisions, and objects entering or exiting them. -- cgit v1.2.3