altreality Posted December 20, 2014 Share Posted December 20, 2014 Hi, I am trying to add a new imposter to Babylon which allows the creation of the cannon.js raycast vehicle. For this I will need to edit Babylon\Physics\Plugins\babylon.cannonJSPlugin.js and test. I can see that this code is minified into the babylon.1.13.js library. But if I want to change any part of babylon source code and test, is there a test harness or something I can use. Ideally I want to edit 1 or 2 files in the Babylon directory and see the effects. I dont want to change a file and then minify each time and test(I do not even know how to build the minified release library) Quote Link to comment Share on other sites More sharing options...
altreality Posted December 20, 2014 Author Share Posted December 20, 2014 Ok, the entire list of includes seem to be here : https://github.com/BabylonJS/Babylon.js/wiki/Creating-the-minified-version I ll just add them to a .js file for now and test. I hope that list is up to date. Quote Link to comment Share on other sites More sharing options...
altreality Posted December 20, 2014 Author Share Posted December 20, 2014 Fat lot of good that did ! Didnt work. Now I am editing in the 25,000 line file babylon.1.14-beta-debug.js directly ! Quote Link to comment Share on other sites More sharing options...
Meulta Posted December 21, 2014 Share Posted December 21, 2014 Hello Altreality, What we do in debug and code writing mode is that we create a .html file containing a reference for each .js files.The list on your link should do it. Did you try this? Meulta Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.