Lary

Members
  • Content count

    22
  • Joined

  • Last visited

  1. I cited pep.js and babylon.js on my project. Since this month, all is ok. and all in a sudden, touch action fails on Android wechat......
  2. Hi fellow friends, Recently I'm having problem with touch action on Android's weChat. (I'm not sure if you use weChat there out of China, it's a chatting tool similar to Facebook.) Meshes can neither be rotated or zoomed in/out on weChat or its based browser on Android devices. This never happens on iOS. Then I made a judgement when loading canvas on different devices, on Android, I change touch action into "manipulation", while on iOS, it remains "none" as before. It seems working by this method, meshes can be rotated, but can't be zoomed in/out still. I know weChat had did something behind, but I don't know how this happens ,and what can be taken to deal with it. You can visit this test link to check the problem. (need to run on wechat of Android, on iOS all is ok). It really worried me, and I racked my brains to solve this. If anyone has had the same experience and can help me out. It's really urgent. Many thanks!!!!!!!!
  3. Hi fellows, Does anyone has mastered both babylonJS and Krpano (a panorama frame) ? I want to put a Babylon model into krpano, and control it using BJS, which I think is a good way to present both technologies. Someone has wrote a plugin on krpano site with ThreeJS. but I want to use BJS instead, coz I love BJS. So I wonder if anyone here has given it a shot before?
  4. moveWithCollisions

    @Wingnut @Arte @RaananW Hi friends, new link : https://www.babylonjs-playground.com/#5YCUIQ#1 hope it works....
  5. moveWithCollisions

    Peculiar! Did I do wrong when saving the scene? I just pasted my code into PG, and click "save" to submit my scene, then it generate a link, i copy it here.... How could this happen....
  6. moveWithCollisions

    @Arte @Wingnut https://www.babylonjs-playground.com/#PTG55H Check this updated link please.
  7. moveWithCollisions

    Hi Wingnut, sorry for the late reply. I appreciate a lot that you're still watching my topic. As an non-English speaker as well as newbie in BJS, I regret to say that your answers seem quite expert and I can only catch some easy points. I run into a problem again and made a PG for my project, check it out please. As you see, there are 3 green meshes on the white rectangle, each time I move one green mesh and intersect with the others , one or maybe two at the same time, the current moving mesh turns Red, while the meshed being intersected remain green; when the moving mesh returns to normal position after intersection, its color returns green again. but it only takes effect when I intersect currentMesh with the second mesh. I don't know why~~ Can you give me some idea please?
  8. moveWithCollisions

    Aha, that's all right. Arte, you just made my topic as lifeful as others.
  9. moveWithCollisions

    Great! That's exactly what I want. Many thanks @Wingnut So the problem is I still have long way to go to learn babylonjs, and maybe a quick review of all functions.
  10. Hi fellow friends, it maybe silly to ask this question, but I'm rather rookie Hope anyone can enlight me a bit~ I'm using moveWithCollisions to control the position of a mesh, it can move along X, Y , Z axis. Can I dispose Y axis, and only move along X and Z axis? I've applied gravity and checkcollisions on meshes, it works, but not that desiable. Is there another way to achieve? Thanks!
  11. Hi Wingnut, I must say you're kind hearted, and words full of wisdom and humor. Your above elaboration enlighted me and gives a new way of thinking! Many thanks! I will try you guys' methods and see if I can manage my project.
  12. That can be a good way, thanks Brianzinn
  13. Thanks WingNut, you're always the first to give answer! My mesh is quite complex, it's a list of .babylon models. I choose a model from html selection list, than the according model will show and fit into a rect model, a bit like menu style. I hope I have made it clear enough. Anyway, I'm still in testing period for my project, I will ask for help here again in time when I get the detailed project requirement and any problem should occur.
  14. Hi all, Thanks for your attention. Is there a way to cut one mesh into two (with two different mesh names), no matter where the cutting section will be, and fit another irrelevant mesh between the fore-mentioned two meshes?and at last add these 3 meshes to form a new object? I tried CSG, it seems the mesh can be cut into two on the surface, but in fact it still remains one mesh. You can check attached sketch to get an general idea of what I want, pls. forgive my poor drawing skill. I will greatly appreciate if you could offer me a solution! Thanks in advance!