Pryme8 Posted February 21, 2016 Share Posted February 21, 2016 is it possible to create a mesh using this script? var newBlock = { id : this._regionBlocks.length, location : {x: this._current_x, y: this._current_y}, mesh : BABYLON.Mesh.CreateGround("block_"+this._regionBlocks.length, this._block_size_x, this._block_size_y, this._block_detail, this._scene, true), } Im not dropping any errors and all console.logs of all variables return what I expect. Is this just not possible? Quote Link to comment Share on other sites More sharing options...
jerome Posted February 21, 2016 Share Posted February 21, 2016 did you check what was your "this" in this call ? Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted February 21, 2016 Author Share Posted February 21, 2016 never mind im a dummy, I was moving them way out of camera by a bad calculation... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.