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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

assemble a robot with many different sub-model

Discussion in 'Animation' started by warmsun, Aug 9, 2015.

  1. warmsun

    warmsun

    Joined:
    Aug 9, 2015
    Posts:
    2
    hi,all. I want to assemble a robot with many sub-model : head ,leg ,body, hand, weapon. And these sub-model can be chosen. then, my robot can have different head,body,weapon etc. By unity3d,how can I attach the sub-model to each other and how play the animation will be ok.
     
  2. warmsun

    warmsun

    Joined:
    Aug 9, 2015
    Posts:
    2
    If i want to play a walk.should i just let the every sub model of robot to play the walk by itself. and by attach (with transform.parent = ),the robot will be looks like walking?
     
  3. theANMATOR2b

    theANMATOR2b

    Joined:
    Jul 12, 2014
    Posts:
    7,790
    Late reply.
    Non coding artist response.
    You can skin separate mesh objects using the same skin in your modeling package. Export everything together and in Unity each separate mesh - skinned together to form a complete robot - will be treated as separate objects in Unity with separate skin mesh renders. These can be turned on/off to your desire.
    Not sure if this is the best approach - but it is a workable solution.
    There are probably better code workflows that accomplish this task more efficiently.