diff options
author | Camille Mohr-Daurat <pouleyKetchoup@gmail.com> | 2021-08-23 16:48:19 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-23 16:48:19 -0700 |
commit | 770a1d00a3b14c4abd1cd57c9621de93b24478aa (patch) | |
tree | 890a04b96057fe9d9708a482c6cb2af4456e0535 /doc/classes/Area3D.xml | |
parent | aa3c3a9ebbc096bba9eda324b91acbb7f14a7b07 (diff) | |
parent | e806397196968cdfc97c1e53bb5cd208e40ae9b2 (diff) |
Merge pull request #51751 from jeffrey-cochran/windforce
Created an area-specific wind force that interacts with soft bodies
Diffstat (limited to 'doc/classes/Area3D.xml')
-rw-r--r-- | doc/classes/Area3D.xml | 9 |
1 files changed, 9 insertions, 0 deletions
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 @@ <member name="space_override" type="int" setter="set_space_override_mode" getter="get_space_override_mode" enum="Area3D.SpaceOverride" default="0"> Override mode for gravity and damping calculations within this area. See [enum SpaceOverride] for possible values. </member> + <member name="wind_attenuation_factor" type="float" setter="set_wind_attenuation_factor" getter="get_wind_attenuation_factor" default="0.0"> + The exponential rate at which wind force decreases with distance from its origin. + </member> + <member name="wind_force_magnitude" type="float" setter="set_wind_force_magnitude" getter="get_wind_force_magnitude" default="0.0"> + The magnitude of area-specific wind force. + </member> + <member name="wind_source_path" type="NodePath" setter="set_wind_source_path" getter="get_wind_source_path" default="NodePath("")"> + 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. + </member> </members> <signals> <signal name="area_entered"> |