use same object twice on scene #388
Replies: 2 comments 1 reply
-
|
Is your object a model you load with the preloader? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Ok, I created just a clone object - but I had to use the SkeletonUtils library from THREE.js because simple clone doesn't work well for me. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
if i try to add same object on scene twice i got error:
THREE.Object3D.add: object not an instance of THREE.Object3D.I read that it's because three.js doesn't deep copy objects - so if i want to put the same object on the next scene, i would have to load new scene from scratch.
Does enable3d have any hidden deep copying functionality for objects so that if I have multiple scenes I can use the same object in each scene?
Beta Was this translation helpful? Give feedback.
All reactions