Jump to content

The Snow Irbix

  • Content Count

  • Joined

  • Last visited

About The Snow Irbix

  • Rank
    Advanced Member
  • Birthday 05/03/1997

Profile Information

  • Gender
  1. Can't stop the progress @Deltakosh ! Actually I can. And I did Here it is ! http://playground.babylonjs.com/indexstable#0S38ZF
  2. I managed to get a better gravity implementation by modifying the FreeCamera code directly. I share it with the forum if someone wanna make a realistic jump animation. Feel free to improve the code and share it with us. var BABYLON; (function (BABYLON) { var FreeCamera = (function (_super) { __extends(FreeCamera, _super); function FreeCamera(name, position, scene) { var _this = _super.call(this, name, position, scene) || this; _this.ellipsoid = new BABYLON.Vector3(0.5, 1, 0.5); _this.checkCollisions = false; _thi
  3. In fact, the gravity implementation is weird. Currently, the camera falls at a constant speed instead of gaining speed while falling (until the air resistance prevents the speed from increasing). How could I make my own implementation of the gravity while keeping the collision system ?
  4. Thank you for your reply ! Indeed there is not much performance difference, so I will do without.
  5. Hellooo ! I was trying to improve my little voxel engine with the tuto here : https://doc.babylonjs.com/tutorials/optimizing_your_scene But I came with a bug that causes my boxes to disappear when I freeze the material and move the camera. I recreated it in the PG : https://playground.babylonjs.com/#NXU14G If you move the camera so the center of the cube is not in the frustum culling anymore, all instances seem to disappear Note that this bug only occurs when working with instances, if you replace let instance = box.createInstance(''+x+y+z); by
  6. Hi guys ! I did a playground with my FreeCamera jumping when pressing the spacebar, here it is : https://playground.babylonjs.com/#JRHZ1B To get a good result, I was forced to set the gravity to -0.2, and I want to know why setting the gravity to -0.9 doesn't give a realistic result. I already read the older topics on the forum on how to create a jumping animation, but they don't use gravity and causes the player's camera to go through the box (http://www.babylonjs-playground.com/#XN87O#41) Any idea to improve my jump animation with a gravity set to -0.9 ? Or can I set
  7. This physic engine looks incredible, I would have liked to have more information on it. But as nittrus noticed, the website is down... Anyone knows when it will be released ?
  8. I have another request to continue my work : How can I update the position of a bone ? ^^ I found this in the Samuel script : And the doc : http://doc.babylonjs.com/classes/2.2-alpha/Bone There are many matrix, but I don't know how are they created and which one is linked to the position of the bone. Which matrix should I update ? I have may be find something : http://www.babylonjs-playground.com/#11BH6Z#23 http://www.babylonjs-playground.com/#11BH6Z#24 I update a matrix...
  9. Aha you're a weird guy ! I love it ! I will start my experimentations and I will keep you posted ! That's a good idea, the CanadArm !
  10. What a huge script ! It seems to use many Quaternions... Have you an idea what function make the transformation between original bones and physic bones ? It will be very helpfull to have just a base
  11. Hello everybody !! How can I do a ragdoll like this : http://lo-th.github.io/Oimo.js/test_ragdoll.html But on bones ? I've found this topic : http://www.html5gamedevs.com/topic/12316-animate-a-bone-through-code/ But I want a simple way to do my ragdoll, because I'm a newbie with matrix Thank you !
  12. Ouais ^^ la chaîne est encore peu connu, mais elle va vite monter vu la qualité de son contenu. D'ailleurs j'adore son épisode 10 Hors Série, j'essaierais bien de faire un programme "empirique" dont le but serait de faire marcher un model, puis peut être plus si j'y arrive !
  13. Je viens de découvrir grâce à lui que l'Unreal Engine 4 est gratuit ! Son épisode 7 l'utilise, et c'est vraiment bluffant !
  14. J'ai trouvé une excellente chaine youtube qui parle de la technique dans les jeux vidéos, bien qu'elle soit en français (et non en anglais) je vous la conseille vivement ! C'est Pause Process : https://www.youtube.com/channel/UC0JUkXAVVA4qWH1BQRs5N3A
  • Create New...