Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
It appears that my function is called twice. This is a problem obviously.
And my console log displays THREE.WebGL Renderer 67 twice!
Do you have any idea why that could be?
There only is one object in the game.
Develop games in your browser. Powerful, performant & highly capable.
The runtime does not call that method twice. The console log you have posted does not prove it has been called twice, either. I don't know where, when or why THREE logs to the console, but it could be doing it twice itself for some reason.
Thanks Ashley. I look into it from the Three.js side then