Search Unity

Animations for crowd

Discussion in 'Entity Component System and C# Job system' started by Ylly, Jan 11, 2019.

  1. Ylly

    Ylly

    Joined:
    May 15, 2015
    Posts:
    16
    Hi, I need advice with crowd animation. For example in scene there are a lot of people in some performance show and they are react depending on this show. So this crowd consists of different kinds humanoid meshes all them have typical animations (angry/idle/happy/etc) . So my idea create components like "BoneTransformComponent" with position and rotation. At the game start take all animations and bones info and write it to structute data for each frame bone position and rotation and then in CrowdAnimSystem use BoneTransformComponent to move them. I want to avoid using standard animator. May be this is wrong idea and better use animation bake into texture and use it through shader. Just wanted increase performance for mobile vr game and crowd with animations perform
    costly. May be you will advice better way