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. Dismiss Notice

[RELEASED] Puppet3D - a professional rigging toolset for Unity.

Discussion in 'Assets and Asset Store' started by jamieniman, Feb 28, 2018.

  1. UnityRocksAlt

    UnityRocksAlt

    Joined:
    Dec 28, 2015
    Posts:
    156
    It doesn't work
     
  2. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
    Can you share an image of your hierarchy - so I can understand what the issue is?
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    5,994
    what's the API like to skin at runtime?
     
  4. PolygonPros

    PolygonPros

    Joined:
    Apr 11, 2020
    Posts:
    34
    Hi, I would like to do exactly this! Take an already rigged character, and add additional bones to it (such as a pony tail), and weight the pony tail verts to the newly created bones (they're currently weighted to the head bone.)

    Is there already a tutorial video or written description of how to add extra bones to already skinned characters for this kind of purpose?
     
  5. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
    No, but here are the steps:
    1. Add the Bone component to all the bones.
    2. Duplicate the skinned gameObject and click "Detach Skin".
    3. Select Mesh (From the MeshFilter) duplicate it and assign it to this meshfilter.
    4. Now select it with all the bones including the new bones (pony tail ones) and click Bind Smooth Skin.
    5. Now select the old mesh followed by the new one and click "Transfer weights"
    6. Now you will be able to paint the weights of the new bones onto your character.
    (Steps 5 & 6 allow you to maintain the previous skin weights - for ease you may just want to skip the last 2 steps if the default weights come well for you)
     
    fordtimelord and PolygonPros like this.
  6. TabArtwork

    TabArtwork

    Joined:
    Jun 9, 2020
    Posts:
    7
    upload_2023-2-17_15-46-46.png
    I'm getting an error whenever I try to export the skin and bones.
    Any ideas how I can get the skin to export correctly?
     
  7. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
    What are you selecting when you click the button?
    (As a workaround - you can also use the Unity FBX Exporter to do this btw )
     
  8. bvonline

    bvonline

    Joined:
    Feb 27, 2021
    Posts:
    75
    Tail Animator (https://assetstore.unity.com/packages/tools/animation/tail-animator-121819) uses bones to create automatic tail animations. To do this, the tail animator component has to be added to the first bone in a hierarchy. Why doesn't it work when i add it to the bones? I skinned the model correctly and it works with the unity animation system. But somehow the tail animation doesn't work, although the tail animation itself is working on the exported Skin & Bones - here, I did not export the Skin & Bones on the tested object. Any reason for that problem?

    upload_2023-4-24_17-31-13.png

    Note: this is just an example image. On the exported object it shows up the tail (green bones), but as described below, the exported object can't be seen, which is mixed here with the unexported rigged object just to see both rigged objects.

    Also, I noticed, when I export the Skin & Bones without editing / adding wheights, Unity says, i can not use the Mesh Skinned Renderer, I have to use the mesh renderer. When i use the mesh renderer on the exported object, I can't see anything of the mesh (it is not visible).

    Both "issues" in Unity 2020.3.x URP.
     

    Attached Files:

  9. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
    Before export you have the spline controls which are stopping the tail animator stuff from working on the skinned bones. If you're not really using the spline controls, I would suggest just deleting them (find the root group of the spline controls and delete this - also check the spline controls are removed from the global control)

    I need to look into the export Skin & Bones issues. Actually since making the export skin & bones was made Unity improved the fbx exporter, so its worth trying that out instead.
     
  10. bthanse

    bthanse

    Joined:
    Jun 24, 2019
    Posts:
    114
    What must I do to use another animations from other humans on this ? I have tried to replase the animations in the animation controller with other, but nothing happen. I think I do it some years ago, but no I can not remember what I do.
     
  11. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
    Firstly you will need to export your character out (either using the export Skin&Bones button, or using Unity's FBX exporter). Then you will be able to set the exported character as a humanoid rig which will be able to use other humanoid animations.
     
  12. bthanse

    bthanse

    Joined:
    Jun 24, 2019
    Posts:
    114
    I try the Skin & Bones, but I can not see where it is exported to ? My model was in A-pose, so I do not know if it can be corrected ? I see that it created something, can not see what it is . Skjermbilde (908).png Skjermbilde (909).png
     

    Attached Files:

    Last edited: Jun 6, 2023
  13. bthanse

    bthanse

    Joined:
    Jun 24, 2019
    Posts:
    114
    It looks like I have got it working. Had to replace the mesh.
     
    jamieniman likes this.
  14. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
    If you rig it in the A-pose and want it to work with "control" animations made in a T-pose - you can take the hand IK control parent groups and adjust it into a t-pose. This will mean all the t-pose animations will work without the arms moving into the body like that.
     
  15. MikeMihe

    MikeMihe

    Joined:
    May 24, 2013
    Posts:
    1
    Please describe what I need to do. What I need to pick on scene for export. Absolutely nothing happend when I try this.
    As result I have 1 polygon broken mesh
     
    Last edited: Jun 27, 2023
  16. ina

    ina

    Joined:
    Nov 15, 2010
    Posts:
    1,058
    do you know if clothing rigging/skinning can be done at runtime, or automated from knowing the base biped?
     
  17. metaphysician

    metaphysician

    Joined:
    May 29, 2012
    Posts:
    186
    hi there - just purchased this and i'm on Unity 2022. i tried the autorig feature but i'm not getting anywhere. i placed the guides, selected my skinned mesh, clicked autorig, the rig was instantly generated and the Global_CTRL items and the skeleton are visible. however nothing is bound to the model. the armature is not deforming the mesh. any help appreciated! i followed the video directions but so far Auto Rig isn't working. i've tried three times so far.

    PS - figure came from Blender so it was in A pose. also i'm doing this from a blend file, but it has no armature and no prior vertex groups. i set import at a scale of 10 since that seems to work better for the controls size, but in the scene scale is set to 1,1,1.

    UPDATE: i tried this in Unity 2019.4.38 LTS and it does seem to work better, as it did actually result in a mesh with a deforming armature. but the skinning part did not go well and the mesh was severely distorted on the head. it is a pretty high poly mesh, but still. i did notice the guide points working a bit better though there was no way to move them on the Z axis - it seemed that instead it autodetected the original mesh better and automatically moved the guide points inside the mesh on the Z axis. my head bone guide point was placed a bit lower, just a bit above the neck so maybe i should have placed it higher up?

    at any rate, it definitely does not seem to work with Unity 2022 as far as i can tell.
     
    Last edited: Aug 13, 2023
  18. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
  19. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
    Puppet3D has been made as an editor tool. The code is open, so you could theoretically expose the skinning functions and use it runtime.
     
  20. jamieniman

    jamieniman

    Joined:
    Jan 7, 2013
    Posts:
    980
    Ideally none of your meshes will be above 60k vertices for Puppet3D to handle them well.

    Otherwise you need to set the Index format of the model to 16 bits (in the import settings) but this will split up your mesh arbitrarily
    upload_2023-8-22_13-30-6.png