—
—
@brianzinn you might want to take a look at use-asset: https://github.com/pmndrs/use-asset this is what i use for r3f. you dont need anything else to have suspense. just a promise or...
> I want a single promise to contain multiple cache keys. this you can do, it's cached according to multiple keys by default ```jsx useAsset((arg1, arg2, arg3, ...rest) => Promise,...
yes, do that, if you find something that might be useless i'd also be open to sharing authorship. must admit i dont get the cache by response part. suspense works...
as for use-asset, cached assets should never be cleared or disposed of, because they are held outside of react. clearing them would be against the point. in r3f you can...
@brianzinn soon cache will also live in react, it won't be global: https://github.com/pmndrs/suspend-react#react-18 each render-root will create a cache root by default, but users can also make their own. the...
if you like you can contribute here: https://github.com/react-spring/cannon-es we have begun merging all the outstanding bugfixes in this repo to keep this wonderful library going. types are also in the...
@leenFskr cannon is not maintained any longer. use cannon-es: https://github.com/pmndrs/cannon-es as for your question, this contains full code: https://twitter.com/0xca0a/status/1414971353766240261 it is using cannon-es in react though via use-cannon. it's just...
> This proxy object can be set up so that changes are automatically carried through to the merged object's combined buffers, so the developer can use the same code for...
would it be much trouble to add multi material support like @takahirox indicated? i think multiple geometries sharing the same material is quite unusual. in pretty much 100% of all...
gl_DrawID sounded like the golden goose for a moment. thanks for clearing that up! with how powerful materials in threejs have gotten we can still probably get a lot out...