<Dart> behaviour

When property is set to the group, i.e. group is the animated actor, then Panda combines all geometry under this group in the single node. Is it possible to get access to the subgroups (subnodes) of the actor when it loaded?

For example in the attached file I have two group: Plane and Plane.001. If I remove , then I can get access to any of them, else them will combined to one geom node without name.
armature_simplest_test.7z (689 Bytes)

Yes You can, but you need to flag parts of the model first.
There’s a command line utility called ‘egg-optchar’ if you use it like this:

egg-optchar -o opt.egg -keepall -flag Plane=flagged armature_simplest_test.egg

You’ll get a model that will keep the “Plane” node as a separate node called ‘flagged’.

What it does to the egg file? It names all the polygons that are part of the flagged group. I sounds strange, but that’s what happens.
Was:

    <Group> Plane {
      <Transform> {
        <Matrix4> {
          1.0 0.0 0.0 0.0 
          0.0 1.0 0.0 0.0 
          0.0 0.0 1.0 0.0 
          -0.7325963973999023 -0.2219988852739334 0.0 1.0 
        }
      }
      
      <VertexPool> Plane {
      
        <Vertex> 0 {-0.450260 -1.651632 0.195856
        }
        <Vertex> 1 {0.953873 0.080668 0.029968
        }
        <Vertex> 2 {-1.161360 -0.005559 -0.690023
        }}
      
      
      <Polygon> {
        <Normal> {-0.315386 0.340463 0.885786}
        <VertexRef> { 0 1 2 <Ref> { Plane }} 
      }
    }

is:

  <Group> Plane {
    <Transform> {
      <Matrix4> {
        1 0 0 0
        0 1 0 0
        0 0 1 0
        -0.732596 -0.221999 0 1
      }
    }
    <VertexPool> Plane {
      <Vertex> 0 {
        -0.45026 -1.65163 0.195856
        // Bone:1
      }
      <Vertex> 1 {
        0.953873 0.080668 0.029968
        // Bone:1
      }
      <Vertex> 2 {
        -1.16136 -0.005559 -0.690023
        // Bone:1
      }
    }
    <Polygon> flagged {
      <Normal> { -0.315386 0.340463 0.885786 }
      <VertexRef> { 0 1 2 <Ref> { Plane } }
    }
  }

If the group had more Polygons, then all of them would now me named.
opt.7z (629 Bytes)

Ok. Thanks ) You dispelled my fears that the changes in the yabee made inaccessible manipulation with the parts of the model