Yannick

Results 211 comments of Yannick

Is there the same issue then using the rust version? https://github.com/yandeu/docker-swarm-visualizer-rs

You can't create a .ts file. It has to be .cjs.

I am just about to build my own ammo.js version (https://github.com/yandeu/ammo.js) if you want to try it. It only has HACD since I think VHACD in ammo.js is very slow...

I guess you create the hull shape with `physics.add.existing(object, options)`? There is the option to set an offset: https://github.com/enable3d/enable3d/blob/e7350fd47affd3d9f9ccc44c8e00e6e74d28327b/packages/common/src/types.ts#L228

> as a json array I think you could date the data array before creating the hull shapes as a simple .json file. But I have never tried it. https://github.com/enable3d/enable3d-website/blob/c294a972c4263d23c755769ac12925d4752688e5/src/examples/threejs/vhacd-shape-webworker.html#L89...

I guess you do not need to install `"ammojs-typed": "^1.0.6",`, since enable3d already provides types.

You're right somehow the types are missing. Try to simply copy the types from the ammojs-types repo to a .d.ts file. https://raw.githubusercontent.com/giniedp/ammojs-typed/master/ammo/ambient/ammo.d.ts

nano-jsx works quite differently from React. ​Based on the nano-jsx documentation: >On every component you call update(), the root element needs to be a DOM element or a Fragment of...

We should modify line 117 of src/component.ts to ensure the intended warning message is executed instead of throwing an exception.

Maybe something like this just above line 117: ```ts if (!oldElements || oldElements.length === 0) { return console.warn('Component needs a parent element to get updated! (No previous elements found to...