summaryrefslogtreecommitdiff
path: root/servers/physics_2d/constraint_2d_sw.h
diff options
context:
space:
mode:
Diffstat (limited to 'servers/physics_2d/constraint_2d_sw.h')
-rw-r--r--servers/physics_2d/constraint_2d_sw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/physics_2d/constraint_2d_sw.h b/servers/physics_2d/constraint_2d_sw.h
index b724deb48e..5e8dfbe570 100644
--- a/servers/physics_2d/constraint_2d_sw.h
+++ b/servers/physics_2d/constraint_2d_sw.h
@@ -63,6 +63,7 @@ public:
_FORCE_INLINE_ bool is_disabled_collisions_between_bodies() const { return disabled_collisions_between_bodies; }
virtual bool setup(real_t p_step) = 0;
+ virtual bool pre_solve(real_t p_step) = 0;
virtual void solve(real_t p_step) = 0;
virtual ~Constraint2DSW() {}