Marco Fugaro

Results 165 comments of Marco Fugaro

For anyone wondering, I got it working with `v5.0.0`, and this is my webpack.config.js ```js const { CheckerPlugin } = require('awesome-typescript-loader') const TsConfigPathsPlugin = require('tsconfig-paths-webpack-plugin') module.export = { resolve: {...

I've made a package that autodetects your browserslist config and returns an esbuild-compatible browsers list you can pass to the `target` option. https://github.com/marcofugaro/browserslist-to-esbuild

@jaxonly fixed in version 1.1.0. Keep in mind that `Android 4.0` refers to the legacy android webview, which is not supported by esbuild target option. If you put `Android >=...

Maybe this is an aliasing issue? Have you tried passing `multisampling: 8` to the postprocessing options? [![image](https://user-images.githubusercontent.com/7217420/85146615-0e941380-b24e-11ea-9236-5d1f97241cd2.png)](https://vanruesc.github.io/postprocessing/public/docs/class/src/core/EffectComposer.js~EffectComposer.html) https://vanruesc.github.io/postprocessing/public/docs/class/src/core/EffectComposer.js~EffectComposer.html

Here are the updated docs: https://pmndrs.github.io/cannon-es/docs/index.html

The `CannonDebugRenderer.js` is not setup to handle esmodule imports, you can use [cannon-es-debugger](https://github.com/pmndrs/cannon-es-debugger/) instead. Instructions are in the README.

As it says [here](https://github.com/schteppe/cannon.js/blob/569730f94a1d9da47967a24fad0323ef7d5b4119/util/cannon.serialize.js#L3) > These methods are not complete but works for simple cases. That code works for bodies only I guess, you would have to write the rest...

Hey! SPH is used mostly for 3d simulations. I don't know what you're trying to do, but foro 2d I'd suggest you using [Verlet Physics](https://www.youtube.com/watch?v=E67e0RX-7Ew) instead. There are a couple...

@yiuxiu you can use the `fixedRotation` option http://schteppe.github.io/cannon.js/docs/classes/Body.html ![image](https://user-images.githubusercontent.com/7217420/105827257-0c531e00-5fc2-11eb-8a68-40d3af4bef9e.png)

@Guo-Zhiqiang check out this example, the gravity is: ```js world.gravity.set(0, -10, 0) ``` https://github.com/pmndrs/cannon-es/blob/master/examples/raycast_vehicle.html