Package com.l2client.model.jme

Examples of com.l2client.model.jme.VisibleModel.attachVisuals()


        rootNode.addLight(dr);
      NewCharSummary c = new NewCharSummary();
      c.name = "Myname";
      VisibleModel v = new VisibleModel(c);
      rootNode.attachChild(v);
      v.attachVisuals();
      v.rotateUpTo(Vector3f.UNIT_Z.mult(-1f));
     
      printHierarchy(rootNode, "");
    }
View Full Code Here


      //so relaping it here
      Spatial troll = n.getChild("troll")
      if(troll != null){
        n.detachChild(troll);
        VisibleModel newtroll = new VisibleModel(null);
        newtroll.attachVisuals();
        newtroll.setLocalTranslation(troll.getLocalTranslation());
        n.attachChild(newtroll);
      }
      //this is needed as the chars are on a different node and would not be rendered
      //just add, do not remove here..
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.