Jump to content

pwetpwet

Members
  • Posts

    5
  • Joined

  • Last visited

pwetpwet's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hello, I have create a square map in "block"(multi box) to make an easy map, it's not funny to design with blender but it's work. Secondly, I have try to move a cube in the runRenderLoop function with for example: mesh.position.y +=0.1;But the position don't change, the position stay in the absolute position. It is normal? Maybe babylon.js have I option to stay in the absolute position? Thx you.
  2. I undestand, thank you. I will try all of your options.
  3. Oh ok! To try babylon.js, I have thinking to create a little car game. In my example, the cube will be the car. Do you think it's possible? If collision detect only box, plane and sphere, I think I have a big problem, because the solution is to make a walls on my map , but the wall can't be a box,plane or sphere too , they are round. And I think the car will be on the wall if the map is like a cube too. Futhermore, I don't know how to know if the cube is on the map. The fonction IsIntersect() will give me the same problem with collisions? Thank you very much for all of your answers.
  4. Physics and mass work fine, cubes fall on the map. Like this: But when he fall, the collisions are detected like a box for my plan, because I select "box" in shape property. The "mesh" or "converx hull" in shape property make an error when I export blender to babylon.
  5. Hello, I created a scene (with blender) composed of cubes and a map (plan). I checked "enable collisions" for all my objects and only put a mass to my cubes. But I have a problem in blender I can't choose "mesh" for my plan to export otherwise it create me an error, so I have to export it as a box. But in box mode, if my cube is outside the map (the map is pierced in the middle), the cube stops falling anyway because I chose the box mode. I read that there was a notion of precision, but I did not find in blender. Thank you for your help. I work with blender 1.68a and Babylon.js 1.10. An example to my problem: https://dl.dropboxusercontent.com/u/48211107/babylonjsBlender.rar
×
×
  • Create New...