From 3275ae4948fd2c1bb8da780214cbb741dc3178be Mon Sep 17 00:00:00 2001 From: sanine Date: Fri, 12 May 2023 01:16:46 -0500 Subject: begin refactor --- scripts/character/spring.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/character/spring.lua') diff --git a/scripts/character/spring.lua b/scripts/character/spring.lua index ed3e878..cbbba4f 100644 --- a/scripts/character/spring.lua +++ b/scripts/character/spring.lua @@ -24,6 +24,6 @@ return function(db, self, other, point) local tbl = ode.ContactGeomTable(point) local x = tbl.depth - 3.8 local spring = db:getComponent(self, "spring") - spring.F = math.abs(200 * x) + spring.F = math.abs(500 * x) print("depth", x) end -- cgit v1.2.1