Collision detection in SceneJS
Description of the problem
Hi, @xeolabs , recently I've been learning about BIM and I find BIM Server. I read the code in 'BIMSurfer' and 'BIMViews', which are plugins to load geometry from IFC file and create scene.
As in 'BIMsurfer', when the geometry data of model being loaded through binary stream, we get 'geometry data' and 'geometry info'. The 'geometry data' contains the indices, the vertices, the normals and the colors, and it's added to scene as a 'library' node. The 'geometry info' holds the transformation matrix for every component of model, and each of the 'geometry info' refers to one of the 'geometry data' using 'coreId'.
Do you have any idea how to do the collision detection with 'physics/system' and 'physics/body' ?
Thank you very much!
SceneJS version
- [ ] Dev
- [x] Master
- [ ] ...
Browser
- [x] All of them
- [ ] Chrome
- [ ] Firefox
- [ ] Internet Explorer
OS
- [x] All of them
- [ ] Windows
- [ ] Linux
- [ ] Android
- [ ] IOS