Andrey Zimin

Members
  • Content Count

    48
  • Joined

  • Last visited

About Andrey Zimin

  • Rank
    Advanced Member

Recent Profile Visitors

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

  1. Yeah. but if I at the moment of moving the body A begin to move the body B, then all the work is useless. Thus the need to use the method suggested above! I.e. create a temporary parent and from him to count! var CoT = new BABYLON.TransformNode("root")
  2. This involves add parent on mesh! Not parent!
  3. Hi friends! There are two objects A and B. How can I move the object A using the coordinate system of object B? Object B - not the world's axis!
  4. Hi friends! There is a method setLinearVelocity() it sets the linear velocity vector. How to make the speed zero? Vector BABYLON.Vector3.Zero() in my opinion there not fit! And also about setAngularVelocity()! How does the rotation speed make zero?
  5. So I knew that I have to remember school :))
  6. I had such a decision, but I thought that could be done somehow by BJS forces
  7. Here not all so simply! The fact that you need to hit the ball exactly the place of the click!
  8. Hello, friends! There is a ball. And on the example, it moves at a constant speed to the desired point. Q: how do I make a ball move to an arc point? Like a flying projectile! here - https://www.babylonjs-playground.com/#IFFDYH#5
  9. I knew that there must be a very simple solution) Thanks a lot!
  10. No friend! All not just simple! )) The count comes from the global coordinate axes. If I click near the ball at the top left, it will roll in the opposite direction. And all this because of the global reference and direction of the vector. How to fix it? https://www.babylonjs-playground.com/#IFFDYH#3
  11. Thank you! I am created PG. https://www.babylonjs-playground.com/#IFFDYH#1 (click on the ground) How do I get a value target (line 39) such, that the ball moves in the direction of the mouse click?
  12. There is an object Obj it and want to move to the point A. The known coordinates of point A with respect to the global center M. How can I do it using method setLinearVelocity(target)? If I is target put the coordinates of the point M, the Obj moves in the direction of the line L. But if it were possible to specify the target relative to the Obj. How can I do that? Obj.physicsImpostor.setLinearVelocity(target) More simply. When you click the mouse, send Obj to where I clicked with setLinearVelocity()
  13. Hi friends! Is the object A is object B. Is there a way to give new coordinates to the object B, but so that the center coordinates was the object A? But object a does not become the parent of object B!
  14. Thank You! I'm sure this is not the last time you answered that question.
  15. Hello, friends! Friction isn't it supposed to stop the ball? Why does he keep moving like nothing's working on him? see here - https://www.babylonjs-playground.com/#BEFOO#228