• RuntimesUnity
  • Parent movement and rotation

Hello. I'm trying to override attack effects bones. I have 2 effects but i need 1 parent object to control their rotation because i need to change attack direction. I overrided the bones and added empty object. I linked this object to Parent reference. But when i move parent top childs moves down, when i rotate parent on 45 degres, child has -45 and so one. Where i made a mistake?
Video with problem demonstration: https://icecreamapps.com/v/bfzf5dk

Related Discussions
...

@sxweb It's hard to help according to the information seen in the video, but the problem is likely that at the SkeletonUtilityBone seen in the video the Parent Reference is set to GameObject which likely is not the parent bone. Any movement is calculated as if this parent bone was the parent bone location in a Spine skeleton. You must assign the actual parent bone GameObject at Parent Reference (the SkeletonUtilityBone GameObject that corresponds to the bone's parent bone, or a respective BoneFollower component if you really need to strip down the parent hiararchy).

This is documented here, under Important Note:
https://esotericsoftware.com/spine-unity#SkeletonUtilityBone

  • sxweb ответили на это сообщение.
  • sxweb оценил это.

    Harald Thanks a lot. I added an overrided child bone for root, added effect as childs and linked it in parent for effects and it helped.