summaryrefslogtreecommitdiffstats
path: root/servers/physics_server_2d.h
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-12-06 16:49:42 +0100
committerGitHub <noreply@github.com>2021-12-06 16:49:42 +0100
commit4bce5e302ef8cc6fcd0caf5137f0c1d3abdb88c2 (patch)
treed09ba42181856f0fea07228b450dcb9ffc9fff39 /servers/physics_server_2d.h
parent3ae8eda1ed30b6c32f6fc1141118c5a062161a96 (diff)
parent2273a78af1034b23b6bdefd993c41a27b4847d4b (diff)
downloadredot-engine-4bce5e302ef8cc6fcd0caf5137f0c1d3abdb88c2.tar.gz
Merge pull request #55602 from nekomatata/improve-rigidbody-contacts
Diffstat (limited to 'servers/physics_server_2d.h')
-rw-r--r--servers/physics_server_2d.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/servers/physics_server_2d.h b/servers/physics_server_2d.h
index c76ec5a5b1..6625be6d14 100644
--- a/servers/physics_server_2d.h
+++ b/servers/physics_server_2d.h
@@ -242,11 +242,13 @@ public:
enum SpaceParameter {
SPACE_PARAM_CONTACT_RECYCLE_RADIUS,
SPACE_PARAM_CONTACT_MAX_SEPARATION,
- SPACE_PARAM_BODY_MAX_ALLOWED_PENETRATION,
+ SPACE_PARAM_CONTACT_MAX_ALLOWED_PENETRATION,
+ SPACE_PARAM_CONTACT_DEFAULT_BIAS,
SPACE_PARAM_BODY_LINEAR_VELOCITY_SLEEP_THRESHOLD,
SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD,
SPACE_PARAM_BODY_TIME_TO_SLEEP,
SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS,
+ SPACE_PARAM_SOLVER_ITERATIONS,
};
virtual void space_set_param(RID p_space, SpaceParameter p_param, real_t p_value) = 0;
@@ -566,8 +568,6 @@ public:
virtual bool is_flushing_queries() const = 0;
- virtual void set_collision_iterations(int p_iterations) = 0;
-
enum ProcessInfo {
INFO_ACTIVE_OBJECTS,
INFO_COLLISION_PAIRS,