summaryrefslogtreecommitdiffstats
path: root/core/core_bind.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-15 16:24:56 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-15 16:24:56 +0100
commit94e9860b82688d45c2a00380d55ea3a10b62580a (patch)
tree4fe668fc62f862fa6de8f0c0532be9d42c1d7c6e /core/core_bind.h
parente1ddd74b23f2accc8dbd27f079561af458cbf04d (diff)
parent66f7c48e39c6479f11c0dd2426c093b0f2910f76 (diff)
downloadredot-engine-94e9860b82688d45c2a00380d55ea3a10b62580a.tar.gz
Merge pull request #65836 from Calinou/add-max-physics-steps-per-frame-setting
Implement adjusting the maximum number of physics steps per rendered frame
Diffstat (limited to 'core/core_bind.h')
-rw-r--r--core/core_bind.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/core_bind.h b/core/core_bind.h
index 784f3e63b1..748ecb4929 100644
--- a/core/core_bind.h
+++ b/core/core_bind.h
@@ -486,6 +486,9 @@ public:
void set_physics_ticks_per_second(int p_ips);
int get_physics_ticks_per_second() const;
+ void set_max_physics_steps_per_frame(int p_max_physics_steps);
+ int get_max_physics_steps_per_frame() const;
+
void set_physics_jitter_fix(double p_threshold);
double get_physics_jitter_fix() const;
double get_physics_interpolation_fraction() const;