supermedium/superframe

`getOrCreateObject3D` has been deprecated. Use `setObject3D()` and `object3dset` event instead.

dzg opened this issue · 0 comments

dzg commented

The "text-geometry" component has a line:

const mesh = el.getOrCreateObject3D('mesh', THREE.Mesh)

which generates this warning from aframe:

`getOrCreateObject3D` has been deprecated. Use `setObject3D()` and `object3dset` event instead. 

What should I replace this with? I don't think  setObject3D() nor object3dset works.