Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Support Cannon compound shapes #53

Closed
donmccurdy opened this issue Aug 13, 2017 · 2 comments
Closed

Support Cannon compound shapes #53

donmccurdy opened this issue Aug 13, 2017 · 2 comments

Comments

@donmccurdy
Copy link
Collaborator

See discussion on c-frame/aframe-extras#44.

@wmurphyrd
Copy link
Contributor

Here's one take: use the existing body API to define the child body shapes, then merge them after bodies have loaded.

Source: https://github.com/wmurphyrd/aframe-physics-extras/blob/master/src/body-merger.js

Live Example: https://wmurphyrd.github.io/aframe-physics-extras/examples/body_merger/

Example source: https://github.com/wmurphyrd/aframe-physics-extras/blob/master/examples/body_merger/index.html

@donmccurdy
Copy link
Collaborator Author

#90

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants