Is your feature request related to a problem? Please describe.
The only way to update collision within the Octree class of Three.js is to use the method ‘fromGraphNode()’. However, this re-adds all triangles instead of giving the option to only update one object. This can heavily impact performance.
Describe the solution you’d like
Calling fromGraphNode() with an already passed object should update its triangles instead of adding everything double.
Describe alternatives you’ve considered
As a workaround I removed all subtrees, triangles and box and used fromGraphNode() to readd everything. This affects performance a lot.
We are developing a 3D-building editor where the building can be walked through and edited realtime.