Add a minimum treshold for acquiring rest contacts to avoid numerical precision issues. Fixes #25074

This commit is contained in:
Juan Linietsky
2019-02-16 13:45:01 -03:00
parent c54330c6b0
commit ee464f56c4
9 changed files with 26 additions and 0 deletions

View File

@ -289,6 +289,7 @@ public:
SPACE_PARAM_BODY_ANGULAR_VELOCITY_SLEEP_THRESHOLD,
SPACE_PARAM_BODY_TIME_TO_SLEEP,
SPACE_PARAM_CONSTRAINT_DEFAULT_BIAS,
SPACE_PARAM_TEST_MOTION_MIN_CONTACT_DEPTH,
};
virtual void space_set_param(RID p_space, SpaceParameter p_param, real_t p_value) = 0;