• Content Count

  • Joined

  • Last visited

  1. The cylinders aren't placed where I click on the planets and they have the wrong rotation... really weird that it's inconsistent. No errors in the console.
  2. I've been off learning about electron and node for how I could possibly make this a cross platform app. I've hit a weird issue.. I thought i had this kind of working as per: https://www.babylonjs-playground.com/indexStable.html#H6XJZ8#95 But if I hit save from the playground and then try and run it from the saved version the columns aren't being placed in the correct location. So in summary... https://www.babylonjs-playground.com/indexStable.html#H6XJZ8#95 works but the zip attached below which is the result of having hit save from the playground does not. I'm confused.. sample (2).zip
  3. Not trying to argue what I was doing was sensible. More that it looks like a regression in 3.3.0 alpha series.
  4. Your url link above isn't to 3.3 though, it's to 3.2. Your link works for me but when I try 3.3.0 alpha 8 (latest) it crashes: https://www.babylonjs-playground.com/index.html#B33X4L with a chrome, "Aw, snap!" Places I've tried this are my windows 10 desktop using chrome and my android phone using chrome. Same results on both.
  5. It's weird that 3.2.0 is ok with it and 3.3.0alpha7 isn't though?
  6. Here's a smaller one.. this appears to always crash for me: https://www.babylonjs-playground.com/index.html#M37848#6 If you remove one of the planets .. say line 39 and it then appears to only crash sometimes.
  7. Found a bug in the process if I hit t and turn on the trails... it crashes in the latest 3.3.0 alpha 6 but works fine in 3.2. Where should I report that?
  8. And now with the planet spinning as well... https://www.babylonjs-playground.com/indexStable.html#H6XJZ8#95
  9. I think I've worked it out ... wish I understood it better... https://www.babylonjs-playground.com/indexStable.html#H6XJZ8#94
  10. Ok .. I''ve kind of solved my initial problem and now I'm up to the problem you thought I had originally.. Edit.. version with cylinders... https://www.babylonjs-playground.com/indexStable.html#H6XJZ8#93
  11. If I disable the rotation of the planet .. it works... so the issue is how I take into account the parent mesh's rotation: https://www.babylonjs-playground.com/#3YAEFZ If you uncomment line 451 you'll see it not work...
  12. Thanks Wingnut, I think you're helping with a future problem after my current problem though. I've switched to cylinders as you suggested and regardless of which way the cylinders are standing on the planet surface they're not being placed in the location where I've clicked. An interesting post I found which seems a little bit similar to the future problem.. but I'm still stuck on the current problem... https://stackoverflow.com/questions/26907686/babylon-js-place-a-plane-normal-to-the-clicked-surface
  13. HI, I've never done any 3d programming like this before so I'm probably doing something stupid. I'm messing around with the idea of making an RTS and my stumbling block in developing that is that I can't work out how to place an object on the surface of the planets. This may be a bad idea but it's fun learning regardless. I'm blown away by how awesome babylonjs is. I have made a playground which should place a green sphere on the surface of the planet where you click but the rotation is off... https://www.babylonjs-playground.com/#7FXSG1#1 Any ideas what I'm doing wrong? I've read a bunch of the forums posts here and tried some of the other things suggested but they don't seem to apply. Thanks in advance....