-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
Getting the error: "Octree.js:2094 Uncaught TypeError: Cannot read property 'faces' of undefined".
I'm pretty sure this is because the library is out of date.
My temporary fix (to help anyone else affected by this) is to change line 2085 to be:
if ( object.object instanceof THREE.Object3D ) { return this.intersectOctreeObject(object.object, recursive);
The "return this.intersectOctreeObject" forces it to keep recursing until it finds the type of non-octree object it's looking for.
Anyways, thought I'd let you know. I'd also like an updated version of the library in case I run into some weird edge cases in the future.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels