summaryrefslogtreecommitdiff
path: root/servers/physics_2d_server.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-06-07 00:25:37 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-06-07 00:25:37 -0300
commit5064cc50066e2b6783805d77cf41a3552a4d155c (patch)
tree454ce9e663ae55a7c117707e4d7ad6109781c865 /servers/physics_2d_server.h
parentb524b40fdc5325c840192ce92dbed8108ccef2d9 (diff)
parent590afbcac461f87b05391996ca85d32627c81a75 (diff)
Merge pull request #1932 from Faless/gravity_distance_full
Calculate gravity based on distance from body to gravity point
Diffstat (limited to 'servers/physics_2d_server.h')
-rw-r--r--servers/physics_2d_server.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics_2d_server.h b/servers/physics_2d_server.h
index 9922d2e345..b24496880e 100644
--- a/servers/physics_2d_server.h
+++ b/servers/physics_2d_server.h
@@ -306,6 +306,7 @@ public:
AREA_PARAM_GRAVITY,
AREA_PARAM_GRAVITY_VECTOR,
AREA_PARAM_GRAVITY_IS_POINT,
+ AREA_PARAM_GRAVITY_DISTANCE_SCALE,
AREA_PARAM_GRAVITY_POINT_ATTENUATION,
AREA_PARAM_LINEAR_DAMP,
AREA_PARAM_ANGULAR_DAMP,