cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
45 stars 16 forks source link

ammo.js rope #924

Open wirmachenbunt opened 1 day ago

wirmachenbunt commented 1 day ago

trying to get the ammo physics rope to work in cables https://github.com/kripken/ammo.js/blob/main/examples/webgl_demo_softbody_rope/index.html

looks like the ammo world needs at least a softbodysolver (line 163) and probably more changes. looking at ammoworld, it seems that this is not the full code but there is more going on in the background.

what is the intended way of extending the functionality for community member regarding the ammo ops. is there a way to access the full code and make changes.

maybe i overlooked something.

actually, thinking about this, i could just make my own ammo ops by referencing the lib coming with cables, but that would be reinventing the wheel.

pandrr commented 18 hours ago

cables ammoworld helper class is here: https://github.com/cables-gl/cables/blob/develop/src/libs/cables/ammoworld.js