Container solution:

After pulling out my hair for a considerable amount of time, I turned to the internet for some more help.

It turns out that when you rotate a plane by 3.14 radian (180 degrees) that the plane flips back over, so I essentially have two floors one being where the ceiling plane should be.

This has already been addressed by the creator of Cannon.js however the version that the fix has been implemented in, is still in the development stage and has not made it to a full release yet. Luckily the developer version is available for use, and has been declared stable enough for developer use within projects by the creator.

So in short my solution is to use the developer version of Cannon.js.

Leave a Reply

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

You are commenting using your 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