is onMoveComplete called, when the sceneobject is removed, from the scene.
this.onUpdate
rickierich June 29th, 2020
All 2 Comments
rickierich June 29th, 2020
does this.update = 0; mean that you cannot use this.update again. I set this.update = 0; Then I refill it with a function in the addtoscene function on an object. It stops calling this.update after that.
rickierich June 29th, 2020
I seem to have sorted my problem out, but it appears that the this.onUpdate = 0 stops the object from listening when called in the this.onUpdate function but it is switched back on in the onMoveComplete function when you reset the onUpdate to a function. The same function does not happen in the addToScene function and you have to explicitly tell it to Listen.
Post a reply
Add Attachment
Submit Reply
Login to Reply