コード例 #1
0
 @Override
 protected void processSystem() {
   final int index = MathUtils.random(this.nodes.size - 1);
   final Matrix4 transform =
       new Matrix4()
           .set(
               tmpV.set(MathUtils.random(-5f, 5f), 10f, MathUtils.random(-5f, 5f)),
               tmpQ.setEulerAngles(
                   MathUtils.random(90f), MathUtils.random(90f), MathUtils.random(90f)));
   this.modelConstructionManager
       .getConstructor(this.nodes.get(index))
       .construct(transform, false, true);
 }