Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Question Making tank and turret as single skinned mesh, or multiple meshes?

Discussion in 'DOTS Animation' started by Antypodish, Mar 31, 2021.

  1. Antypodish

    Antypodish

    Joined:
    Apr 29, 2014
    Posts:
    10,779
    Hi.

    I think is my first post in this animation sub forum.

    I do wonder, while I investigate unity.animation packages and its samples
    https://github.com/Unity-Technologies/Unity.Animation.Samples
    I do wonder, what would be most perform ant way to do tank, tracks and turret animations.

    On one hand, having tank wheels, tracks and turret with cannon as single mesh. Then do animation blending for targeting, tracks movements and wheels.

    On other hand, I am considering using multiple meshes per tank, turret and canon as separate. Probably body and wheels and tracks as single mesh. But also considering making the individual meshes. That using bones of course for attachments.

    So for attachments of each part, I could use sockets, as one of unity.animation samples shows.

    The tanks is just an example, but consider something more sophisticated. Like retractors / hinges / piston and turret on top.

    And of course, I need muzle position, to fire projectiles. Which shouldn't be an issue, since having bones position accessible anyway.

    And finally, considering multiplying these tanks by 10k.
    I think there is one sample with close to 100-1k characters. But performance is not that grate I think. Sure, they got much more bones to be calculated, than I need.

    I would like do run stress test eventually, but while I am getting familiar with unity.animation and brain storming, I thought is worth to ask here.
     
    Last edited: Mar 31, 2021
  2. Sunstrace

    Sunstrace

    Joined:
    Dec 15, 2019
    Posts:
    40
    single tank should see the socket sample,its just set the parent and child relationship.but its hard to show 10k+...
     
  3. jdtec

    jdtec

    Joined:
    Oct 25, 2017
    Posts:
    302
    Initial thoughts are that as soon as you want to start rendering thousands of simple animated things, you probably want to take the texture animation route that's been posted about a few times on the DOTs forum.