Dad72 Posted March 13, 2017 Share Posted March 13, 2017 Hello, In the demo to attach an object to a bone no longer works. Previously we can see a sphere focus on the character of hand, but not now. http://www.babylonjs-playground.com/#11BH6Z#18 Quote Link to comment Share on other sites More sharing options...
Raggar Posted March 13, 2017 Share Posted March 13, 2017 http://www.babylonjs-playground.com/#11BH6Z#245 skeleton.bones[34].getRotationToRef(BABYLON.Space.WORLD, dude, sphere.rotation); skeleton.bones[34].getPositionToRef(BABYLON.Space.WORLD, dude, sphere.position); https://doc.babylonjs.com/tutorials/how_to_use_bones_and_skeletons Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 13, 2017 Author Share Posted March 13, 2017 This does not preclude that there is a bug with attachToBone that worked before. you withdraw attachToBone and use something else. I note that AttachToBone not work because I would rather use this feature. But thanks Quote Link to comment Share on other sites More sharing options...
adam Posted March 13, 2017 Share Posted March 13, 2017 It's working on this simple model: http://www.babylonjs-playground.com/#OCCLB#25 Weird Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 13, 2017 Author Share Posted March 13, 2017 The sphere is attached to the character when I look in the inspector. but she is not render. she is invisible. yes, weird Quote Link to comment Share on other sites More sharing options...
Raggar Posted March 13, 2017 Share Posted March 13, 2017 Snap. Didn't see it was in the Bugs section. My bad. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 13, 2017 Share Posted March 13, 2017 So no bug? Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 13, 2017 Author Share Posted March 13, 2017 Si. There are bug. Why no ? http://www.babylonjs-playground.com/#11BH6Z%2318 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 13, 2017 Author Share Posted March 13, 2017 The bug is: The sphere is attached to the character when I look in the inspector. but she is not render. she is not visible. it worked well before. but not anymore. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 13, 2017 Share Posted March 13, 2017 Ok gotcha:) will check asap! Quote Link to comment Share on other sites More sharing options...
gryff Posted March 14, 2017 Share Posted March 14, 2017 7 hours ago, Dad72 said: Si. There are bug. Why no ? @Dad72: It is weird Dad . If I comment out the line #51 of the PG - it appears to work and the "dude" is holding the sphere. But now of course he is not walking off into the sunset cheers, gryff Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 14, 2017 Author Share Posted March 14, 2017 indeed, of that we change the position of the character, the sphere disappears. I seem to have seen the change about it some months ago. It was for multiple animations with object attach to bones. I think a bug that crept at this time. I think Adam fixed today. PR is merge, but we can not test in the Playground for the time being. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 14, 2017 Share Posted March 14, 2017 Just tested the PG and it works...Thanks adam! Quote Link to comment Share on other sites More sharing options...
Dad72 Posted March 14, 2017 Author Share Posted March 14, 2017 Ok Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.