Hello all,
I'm trying to programmatically create a cylinder using the following:
var cylinder = BABYLON.MeshBuilder.CreateCylinder("wormhole", {diameter: 1, tessellation: 24}, this.resourceStore["GameScene"]);
cylinder.position = BABYLON.Vector3(-0.56, 1.27, 1.235);
and it is throwing a TypeError: e is undefined with the following trace:
o</i.prototype.copyFrom()
babylon-2.4.min.js:1
t</i.prototype.computeWorldMatrix()
babylon-2.4.min.js:6
o</i.prototype._evaluateActiveMeshes()
babylon-2.4.min.js:10
o</i.prototype._renderForCamera()
babylon-2.4.min.js:11
o</i.prototype._processSubCameras()
babylon-2.4.min.js:11
o</i.prototype.render()
babylon-2.4.min.js:11
GameManager.prototype.initialize/</textTask.onSuccess</<()
GameManager.js:191
bound ()
self-hosted
c</o.prototype._renderLoop()
babylon-2.4.min.js:4
bound ()
self-hosted
Any ideas? Everything works fine (i.e. scene loads, textures show, materials work, controls work). I have noticed lately that my textures seem to disappear at a particular camera but the geometry is still there. Not sure if its related.