summaryrefslogtreecommitdiffstats
path: root/servers/physics_server_2d.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2023-01-29 18:11:41 -0600
committerAaron Franke <arnfranke@yahoo.com>2023-01-29 22:12:00 -0600
commit79215131b5215c8bf4269e3ac7573639a16295b7 (patch)
treeded3a4a7fd5c6bdbcb090cd150c7aed1ccb8fb2c /servers/physics_server_2d.cpp
parent866e2b95dcedfdc85a2aabe1753af11132bc7f63 (diff)
downloadredot-engine-79215131b5215c8bf4269e3ac7573639a16295b7.tar.gz
Replace Area gravity point distance scale with unit distance
Diffstat (limited to 'servers/physics_server_2d.cpp')
-rw-r--r--servers/physics_server_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/physics_server_2d.cpp b/servers/physics_server_2d.cpp
index 1837a567a9..15c2749484 100644
--- a/servers/physics_server_2d.cpp
+++ b/servers/physics_server_2d.cpp
@@ -811,7 +811,7 @@ void PhysicsServer2D::_bind_methods() {
BIND_ENUM_CONSTANT(AREA_PARAM_GRAVITY);
BIND_ENUM_CONSTANT(AREA_PARAM_GRAVITY_VECTOR);
BIND_ENUM_CONSTANT(AREA_PARAM_GRAVITY_IS_POINT);
- BIND_ENUM_CONSTANT(AREA_PARAM_GRAVITY_DISTANCE_SCALE);
+ BIND_ENUM_CONSTANT(AREA_PARAM_GRAVITY_POINT_UNIT_DISTANCE);
BIND_ENUM_CONSTANT(AREA_PARAM_LINEAR_DAMP_OVERRIDE_MODE);
BIND_ENUM_CONSTANT(AREA_PARAM_LINEAR_DAMP);
BIND_ENUM_CONSTANT(AREA_PARAM_ANGULAR_DAMP_OVERRIDE_MODE);