diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-12-06 16:49:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-06 16:49:42 +0100 |
commit | 4bce5e302ef8cc6fcd0caf5137f0c1d3abdb88c2 (patch) | |
tree | d09ba42181856f0fea07228b450dcb9ffc9fff39 /servers/physics_server_2d.h | |
parent | 3ae8eda1ed30b6c32f6fc1141118c5a062161a96 (diff) | |
parent | 2273a78af1034b23b6bdefd993c41a27b4847d4b (diff) | |
download | redot-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.h | 6 |
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, |