eboo Posted April 16, 2016 Share Posted April 16, 2016 i use the attachToBone to add sword to player. All is fine. sword is animated when playermash skeleton is animated. first issue: if i rotate meshPlayer, sword is not attached and doesn t move. second issue: if i use attachToBone twice, sword is "inverted". how can i fix sword rotation? nota: if i rotate meshplayer when animating, ... sword is rotating too Quote Link to comment Share on other sites More sharing options...
eboo Posted April 17, 2016 Author Share Posted April 17, 2016 playground: http://www.babylonjs-playground.com/#11BH6Z#59 Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted April 17, 2016 Share Posted April 17, 2016 http://www.babylonjs-playground.com/#11BH6Z#60 Quote Link to comment Share on other sites More sharing options...
eboo Posted April 17, 2016 Author Share Posted April 17, 2016 yes you r right. thanks we need to rotate all childrens ;( As i need lot of childrens I think i will lanch a "rotation" skeleton animation NasimiAsl 1 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.