• Content Count

  • Joined

  • Last visited

About okan

  • Rank

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello Deltakosh and thank you for reply. Is it possible to change pivot in babylon without using a tool? If it is not, I think i can reset pivot to center with Blender. So, should I create different models for each weapon and set pivot to center for each of them? Is it the common way to do that instead of trying to change pivot of meshes in babylon or any other 3d engine?
  2. Hello, I'm trying to learn babylonjs and build a simple tower defense game. However, there is a problem i could not solve. I have imported a tower model with some weapons on it (more than 20 meshes). When I print positions of these meshes, it says they are all at 0,0,0. However, when I try to rotate or change position it behaves like its pivot position is at 0,0,0 and their object position is at another point. So, I'm having trouble when i try to move and rotate the weapon meshes around the tower model. I have tried to set bounding box's center point as pivot point of the object, but it did not work. Still when i try to rotate weapons, it rotates around another axis. How can I solve this problem? If it's not clear I can send a playground demo to explain it better.