aboutsummaryrefslogtreecommitdiff
path: root/core/engine.h
diff options
context:
space:
mode:
authorJuan Linietsky2018-05-07 19:27:32 -0300
committerGitHub2018-05-07 19:27:32 -0300
commit633bbdb2318a9776b651264ea6146bd805a16fb8 (patch)
tree812348e4be2f405683a710eafdb2c06cd852996f /core/engine.h
parent9f2d54cd6827e39799b85bf306d0fc98ce5941bd (diff)
parentd5abd4eb750387c95d1040e7613f98bd816c58bb (diff)
downloadgodot-633bbdb2318a9776b651264ea6146bd805a16fb8.tar.gz
godot-633bbdb2318a9776b651264ea6146bd805a16fb8.tar.zst
godot-633bbdb2318a9776b651264ea6146bd805a16fb8.zip
Diffstat (limited to 'core/engine.h')
-rw-r--r--core/engine.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/engine.h b/core/engine.h
index 54b30ab81..665992699 100644
--- a/core/engine.h
+++ b/core/engine.h
@@ -57,6 +57,7 @@ private:
float _frame_step;
int ips;
+ float physics_jitter_fix;
float _fps;
int _target_fps;
float _time_scale;
@@ -79,6 +80,9 @@ public:
virtual void set_iterations_per_second(int p_ips);
virtual int get_iterations_per_second() const;
+ void set_physics_jitter_fix(float p_threshold);
+ float get_physics_jitter_fix() const;
+
virtual void set_target_fps(int p_fps);
virtual float get_target_fps() const;