$ luarocks install gamecake-chipmunk
A lua binding to chipmunk physics library.
See libs/lua_chipmunk/readme.md in the gamecake repo
https://github.com/xriss/gamecake/blob/master/libs/lua_chipmunk/
# gamecake-chipmunk
- v0.9
- initial rocks release.
Lua code documentation auto built from source comments can be found at
https://xriss.github.io/gamecake/docs/
This has been replaced by box2d but currently kept around for
compatibility with old fun code.
also not sure why but have had to disable force resets on update in
cpBody.c so we can easily run multiple steps
https://chipmunk-physics.net/forum/viewtopic.php?t=484
Re: Force vs Impulse?
Post by slembcke ยป Tue Jun 16, 2009 5:19 pm
Yes, it will work better to spread the force out over several frames.
Forces are not reset every step like they are in some other physics
engines. If you set a force on an object, it will continue to be
affected by it until you change or reset the force.