schteppe / cannon.js

A lightweight 3D physics engine written in JavaScript.
http://schteppe.github.com/cannon.js
MIT License
4.63k stars 700 forks source link

Uncaught ReferenceError: CANNON is not defined #455

Open mrmadgav opened 3 years ago

mrmadgav commented 3 years ago

Good day! Ive tried to use both Cannon.js and Cannon.min.js, but have caught such a problem. My code looks like this...maybe you have a global version or smth like that? I dont know what to do... cannon

Dannie226 commented 3 years ago

If it says that CANNON isn't defined, it might be a problem with the way you are importing the library. If I could see that, I might be able to help you.