Skip to content

Let's make super-hands work with Ammo.js physics engine #196

@diarmidmackenzie

Description

@diarmidmackenzie

aframe-physics-system offers 2 different physics engines: CANNON.js and Ammo.js.

Currently super-hands only works with the CANNON.js engine.

It would be great if super-hands could work with the Ammo.js engine as well. This is particularly important as of A-Frame 1.2.0, because the CANNON.js version of aframe-physics-system is broken, and it's not clear that's going to be fixed soon.

See: n5ro/aframe-physics-system#187

In any case, Ammo.js seems to be more mature & performant than CANNON,js, being a javascript port of the extremely widely used Bullet physics engine, so it would be good to support it in any case.

The set of changes required to get basic function with Ammo.js working seems to be fairly small. I have made a set of changes here, which appears to be most of what is required.
master...diarmidmackenzie:master

@wmurphyrd - would you be willing to work with me to get this set of changes folded into this repo as a PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions