Jump to content

Search the Community

Showing results for tags 'bone'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
  • Frameworks
    • Phaser 3
    • Phaser 2
    • Pixi.js
    • Babylon.js
    • Panda 2
    • melonJS
  • General
    • General Talk
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

  1. In Babylonejs, BoneIKController assumes that all bones are oriented along the x-axis, like the Dude example http://www.babylonjs-playground.com/#1EVNNB#15. I find that "The bones should be oriented along the y-axis". Here is the demo of using BoneIKController with y-axis http://www.babylonjs-playground.com/#1EVNNB#46. To make it work correctly, you need to change BABYLON.Matrix.RotationYawPitchRollToRef(0, 0, Math.PI * .5, mat2); to BABYLON.Matrix.RotationYawPitchRollToRef(0, 0, 0, mat2); in babylon.boneIKController.ts file. Of course, we can't expect that not all bo
  2. Hi, I'm trying to modify animations in real-time but it seems to be extremely difficult in practice. There are functions to modify bone rotations, positions, scaling and nice helpers like BoneLookController and BoneIKController... but all of them seem to break down when you change the animation (from walking to running for example). Every time I change animation, all the parameters are reset, causing terrible jerks and twitches when the system tries to blend the controller or rotation back into place. Is there a way to force animation blending off for single rotation or controll
  3. Hello everyone!I plan to use the Kinect v2 (that for xboxOne) to move an avatar in my scene.My idea was to gain the quaternions of jointOrientations and then change the appropriate bone matrix. Nevertheless, the jointOrientations are expressed in global rotations (each jointOrientation indicates the direction of the joint in absolute coordinates) while, if I understand it, I can only modify the local matrix of skeleton bone. So I am trying to convert local jointOrientation in local rotation:var joint; //the joint of kinectvar parent = joint.Parent();var localOrientation = BABYLON.Quaterni
  4. QUESTION: What are the minimum steps required to get a bone to export from blender and to be visualized with Debug.SkeletonViewer? Having trouble making a cube add a bone and then export to babylon. After a bunch of variations I see why... there are many steps: Applied: Object->Apply->Location & Rotation & Scale. And ensured Camera Icon is on Armiture (exporting). Weight Painted. Or setParent-> Auto Weights. And added Armiture modifier... still no bones. Tried two different loading types, two different export types (
  5. Hello, everyone! I want to use babylonjs to develop a game, but it requires a lot of modeling and animation, and I want to implement it in the following way. I have these files below: 1.A model file (including skeleton and model, but no animation); 2.Multiple skeletal animation files (including bones and animation, but no model); This problem does not exist when I merge the model and the skeleton into a single file, but in such a way it is necessary to re-modify all the model files every time you add a skeleton action. So, I want to control the different actions of
  6. Hi all! Please tell me what is Difference between position, rotationQuaternion of mesh and bone. Because when I apply same position and rotationQuaternion animations to same hierarchy parent-child meshes vs bones I get difference results - (bone-animations result seem wrong). How to correct bone-animations? Thanks
  7. Hi All! The BABYLON.Debug.SkeletonViewer help to view skeleton in array of lines. So can we create the bone from 2 points to build skeleton?
  8. Hi all, I lurked some topics related to bones and their rotation but didn't find a clear solution to my problem, so I try to expose it. I'm trying to find the best way to compose rotation of bone on all 3 local axes. In my simulation, i rotate manually the bones of a human rigged model to match desired poses. Everything works fine when a bone rotates only around one local axis (x, y or z), but if I have to compose rotations and rotate, by example, a bone 90° around original x axis and 90° around original z axis, the results are not the ones I expected. E.g: bone.rotate(BABYLON
  9. Hi all, is there a way to interpolate actual bone rotation to have a "smooth" transition until it returns to rest pose? Explaining better: I can set rest pose on a bone by doing: mesh.skeleton.bones[19].setRotationMatrix(mesh.skeleton.bones[19].getRestPose().getRotationMatrix()) but obviously there's no transition between two poses by this way. How to interpolate along N steps between the two rotation matrices? Tnx
  10. Hi, some time ago i started learn babylonJS, which some experience in phaser I made this: http://babylon.furcatomasz.pl. And now i have two problem to resolve: 1. Animation of walk of character stretching char - you can check it using keys WASD. 2. Mesh character have bones. I think about bone right hand, when i use function attachToBone sword has been attached in different position than bone. Thanks for help Tom
  11. Hi, I hope someone can help me. I want to export my Blender model with the Babylon.js Blender Exporter and import it in my App. In general this works fine, but I have one problem that I can't solve. In Blender I added a parent connection between a plane and a bone of my armature. The idea is that the plane should move if the bone moves. In Blender this works fine, but not with Babylon if I import the exported scene (tried my app and the BABYLON sandbox). Now I have two problems (which may be related to each other ?) 1. The plane is in a different place in Babylon (compare
  12. Hi to all. There really isn't any issue here; as exporting animations to babylon from blender works fine, except for the "4 bone influencers per vertex" limitation. I understand that it is a browser thing: http://www.html5gamedevs.com/topic/10772-blender-export-issues/ http://www.html5gamedevs.com/topic/9560-rigging-rigify-blender-export-babylon/ My question is sort of strange, but I'll ask it anyways. I have no idea how to rig following this limitation in blender. How would one go about ensuring that this limit is not exceeded? Sure importing a MakeHUman model with the gaming rig, 32 bo
  13. Are there any plans to increase the 4 max bone influence limit of BabylonJS Skeleton Animations ???
  14. Hi all! Maybe my question is simple, but tell me please, how can I find out mesh.rotation(in world space), wich atached to bone? That one more mesh set in this rotation whitout using attachToBone. Because mesh, which attached to bone, rotation always equals 0, 0, 0 . Thank!
  15. Hello ! Is it possible to play a bone animation (created in Blender) backward ? For example : we make strafe right and want to play strafe left via code. I imagine something like : scene.beginAnimation(skeleton, 40, 0, true, 1.0); Do you think it's a cool feature ? Implemeting all reverse animations in Blender is not complicated but heavy.
  16. Hello! In begin I want to apologize for my English. I am using mesh.attachToBone for mount my pistol with character hand. All works fine. But when I am using bone.updateMatrix for rotate character torso var mat = this.torso.getLocalMatrix(); mat = mat.multiply(BABYLON.Matrix.RotationX(r)); this.torso.updateMatrix(mat); Torso rotates correctly, but my pistol still in place. On left screen you can see how work pistol.attachToBone, on right screen it is when I am changed torso rotation, but pistol did not move.
  17. Hi everybody, noob here. So I have an animation of a walking person created using makehuman and makewalk and exported to a .babylon. I have the keyframe 0 .babylon appearing in my browser window but can't make the animation run. How can I control it? Here's my code so far (mostly copy/pasted from a tutorial for importing a mesh-only animation from babylon. I get a TypeError: scene undefined. from the line scene.beginAnimation(cmbrighuman-highpolyeyes, 31, 60, true, 1.0); <code> var canvas, engine, scene, camera = 0; document.addEventListener("DOMContentLoaded
  18. Hello, I'm testing to export bone animation from Blender to babylon.js. Animation in Blender works well ( sample_0.gif ), but it doesn't work well in babylon.js ( sample_1.gif). It seems the rotation axis is incorrect or the relationship between parent bone and child bone is not well. Do I have to set some values or something in blender or babylon.js? *enviroment babylon.2.3.js / blender 2.76 / blender exporter 4.5.0 / windows 10 / chrome if there were similar topics, please let me know. Regards
  19. Hello all, I am the dev of the Creature Animation Tool ( http://creature.kestrelmoon.com/ ) Today I checked in a change to the Creature Phaser WebGL runtimes to enable the loading of our new FlatBuffer Binary File format. This allows you to pick between either current JSON format (which is useful for debugging) or the faster and more compact binary FlatBuffer representation. The docs on how to use the new file format have been updated: http://www.kestrelmoon.com/creaturedocs/Game_Engine_Runtimes_And_Integration/Phaser_Runtimes%20.html The new runtimes are here: https:/
  20. I'm able to compute the length for bones that have a connected child bone, but I have no idea what to do for bones that don't.
  21. Does anyone know how to get the global position of a bone?
  22. Hi again! Please advice me - how rules i must use for creating armature in blender for use in babylon.js scenes. 1. Now i create armature and 3 simple bones system. Attach controller and setting up bones. 2. Create IK-constraint for bones 2. Create animation for controller, it's ok. 3. Export from blender and import to BJS scene. In file all bones and skeleton is saved. Also controller animation. 4. Controller animation can play ("CTRL" cube), but mesh \ bone system is not bended. BJS not support constraints? Ok, but how make pretty samples BlueLady and etc demos? Moving every bone manua
  23. Hi! In my scene I have multiple instanced robots with single skeleton. When two of them get near enough each they should start shooting lasers. Skeleton has a bone named "Arm.Gun L", its position and orientation already define the origin from where the laser is shot and its direction vector, the problem is that I can't find a way how to access the data. It need to be accessed and copied only once. Find the bone: this._bone = skeletons[0].bones.filter((b: BABYLON.Bone) => { return b.name === "Arm.Gun L";})[0];And when firing: var l = this._laser.createInstance("l");l.position = ? // th
  24. Hi People, I have imported a rigged model (dude model https://github.com/BabylonJS/MeshesLibrary/tree/master/Dude) in my project, the method scene.beginAnimation() works so i suppose that the skeleton is already attached to the mesh. I want to rotate a bone of this skeleton but i can't reach this goal The code that i used is the following: engine.runRenderLoop(function () { var bone = scene.getSkeletonByName("Skeleton0").bones[20]; //I've tried different bones var boneMat = bone.getWorldMatrix(); BABYLON.Matrix.RotationXToRef(0.1, boneMat); bone.updateMatrix(boneMat); scene.render();}I
  25. Hello Phaser Devs, Creature is my new advanced 2D Skeletal and Mesh Animation Tool designed for indie game devs in mind. It also supports Phaser as one of the export formats. Phaser Support (WebGL required) I just added in Phaser support for the Creature playback runtimes. Check out the Phaser playback demo here: http://www.kestrelmoon.com/creature/demo_phasor.html The above demo shows a Phoenix character authored in Creature and exported out for Phaser. The whole animation sequence was automatically generated using a combination of wing flap motors, bone motors(for the floppy tails) a
×
×
  • Create New...