Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Resolved How to prevent 2D bones from sliding apart? (Scene View)

Discussion in '2D' started by michalh66, Jun 13, 2022.

  1. michalh66

    michalh66

    Joined:
    Jul 7, 2019
    Posts:
    2
    Hello. I have rigged 2d sprite, with bones, weights. I've spend a lot on time on it and at Sprite Editor all is set perfect. The problem is that bones are behaving differently at Sprite Editor and Scene View. All I need is to prevent bones from sliding apart in Scene View. I've tried with IK 2D Manager, but results on Limbs and Chains were heavily limiting smoothness of original rigg's movement.

    Do You have any ideas how to solve this problem? Thank's

    Pic from Screen Editor

    Editor2.jpg

    Pic from Scene View Scene2.jpg
     
  2. MarekUnity

    MarekUnity

    Unity Technologies

    Joined:
    Jan 6, 2017
    Posts:
    179
    Animating by moving joints instead of bones is not allowed currently. Technical reason behind is that moving the joint would mean that the bone up the hierarchy is scaled up and that would affect all the bones down the hierarchy.

    If you want to animate limbs, or chains of bones you could also use 2D IK.
     
    Last edited: Jun 14, 2022
    michalh66 likes this.
  3. michalh66

    michalh66

    Joined:
    Jul 7, 2019
    Posts:
    2
    Thank you for a quick reply and explanation. I've managed to save this rigg by changing a bit the hierarchy of bones. Everything works well.
     
    MarekUnity likes this.