Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Joint authoring is a nightmare

Discussion in 'Physics for ECS' started by illinar, Aug 22, 2020.

  1. illinar

    illinar

    Joined:
    Apr 6, 2011
    Posts:
    862
    Some weird scale issues. Joint anchors after conversion are not where they are on game objects.

    The bodies are parented, so they get unparented during conversion. But why is that causing the issues if every object in the hierarchy has a scale of 1,1,1??

    upload_2020-8-22_21-8-25.png

    Result:

    upload_2020-8-22_21-8-47.png

    EDIT: Nvm, the target body is scaled down. When it is not scaled, the result is as expected. HOWERVER still, it should be able to handle the scaling, right? WYSIWYG?
     
    steveeHavok likes this.
  2. illinar

    illinar

    Joined:
    Apr 6, 2011
    Posts:
    862
    Side note: Who the hell needs those huge debug joint markers? 1 meter? I'm working with a character and the joints should be 5cm in size maybe. I wish it was configurable, or better: scalable.
     
  3. steveeHavok

    steveeHavok

    Joined:
    Mar 19, 2019
    Posts:
    481
    Thanks for highlighting this. Yup, scale is not yet handled on the bodies. Pretty sure I have a WIP branch looking at adding scale support somewhere. I can see about scaling the pivots based on the camera as well.
     
    illinar and petarmHavok like this.