Sign in to follow this  
primesoftware

TypeError: e is undefined

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.