]> git.xonotic.org Git - xonotic/darkplaces.git/commit
experimental support for springs:
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 22 Oct 2009 07:49:55 +0000 (07:49 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Thu, 22 Oct 2009 07:49:55 +0000 (07:49 +0000)
commitbbfa10a406fd3f7ae77aa2d3ec8bfba1da795f88
tree09809e56a53c20f648504c1740c0b012a5292dcc
parent1c370605cc0139e844c9c2ae6b26bcb536b2cf44
experimental support for springs:
movedir_x = joint CFM value (works for non-springs too)
movedir_y = spring force
movedir_z = spring ERP value

But maybe we should, instead of raw CFM and ERP, supply spring constant and dampening coefficient (see http://www.ode.org/old_list_archives/2006-January/017614.html)?

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9377 d7cf8633-e32d-0410-b094-e92efae38249
progs.h
progsvm.h
prvm_edict.c
world.c