Containers are not that easy:

After searching the cannon.js documentation, its apparent that there is no such thing as a container object within the engine.

However there is a work around for this problem, you can create a container out of CANNON.Plane objects. If all of the planes are facing inwards then they can act as a container. My next step is to implement this within my project.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s