three-to-cannon icon indicating copy to clipboard operation
three-to-cannon copied to clipboard

Convert a THREE.Mesh to a CANNON.Shape.

Results 12 three-to-cannon issues
Sort by recently updated
recently updated
newest added

It looks like there may be some issues with generated convex hulls. When two bodies with generated convex hull shapes collide, the physics simulation stops and the page becomes unresponsive....

bug

Unfortunately, it doesn't seem to be safe to call `clone` on an arbitrary three.js `Object3D`. As a result, creating a box shape fails if you try to create it on...

bug

Need to confirm effects of https://github.com/donmccurdy/three-to-cannon/pull/8, guessing some cases are inconsistent across different shape construction paths currently.

bug

Relevant to this thread: http://www.html5gamedevs.com/topic/24944-cannonjs-heightfield-from-imported-mesh/ Some discussion here: https://github.com/schteppe/cannon.js/issues/221 And several github issues: - https://github.com/donmccurdy/aframe-extras/issues/41 - https://github.com/donmccurdy/aframe-physics-system/issues/9 Also, docs could be improved per cannon issue 222.

enhancement

[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`5.36.2` -> `5.38.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/5.36.2/5.38.0) | [![age](https://badges.renovateapi.com/packages/npm/@typescript-eslint%2feslint-plugin/5.38.0/age-slim)](https://docs.renovatebot.com/merge-confidence/)...

- Use connected faces from generated convex hull - Fixes #76 - Generated convex hulls did not have connected faces, which is required for convex-convex collision in cannon-es - Using...

```js let loader = new GLTFLoader(); // Load a glb model loader.load('models/chernovan_nemesis.glb', function (gltf) { // Get the model and its animations let model = gltf.scene; let animations = gltf.animations;...

This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [rimraf](https://redirect.github.com/isaacs/rimraf) | [`5.0.10` -> `6.0.1`](https://renovatebot.com/diffs/npm/rimraf/5.0.10/6.0.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/rimraf/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/rimraf/6.0.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)...

Bumps [micromatch](https://github.com/micromatch/micromatch) from 4.0.5 to 4.0.8. Changelog Sourced from micromatch's changelog. [4.0.8] - 2024-08-22 backported CVE-2024-4067 fix (from v4.0.6) over to 4.x branch [4.0.7] - 2024-05-22 this is basically v4.0.5,...

dependencies