Examples of MapVectorHeightToCell()


Examples of com.l2client.navigation.Cell.MapVectorHeightToCell()

    if (e != null) {
      Cell c = Singleton.get().getNavManager().FindClosestCell(pos, false);
      pc = new PositioningComponent();
      if (c != null) {
        pc.cell = c.getId();
        c.MapVectorHeightToCell(pos);
      }
      pc.position.set(pos);
      pc.heightOffset = 1f;
     
      em.addComponent(e.getId(), pc);
View Full Code Here

Examples of com.l2client.navigation.Cell.MapVectorHeightToCell()

    if (e != null) {
      Cell c = enm.FindClosestCell(pos, false);
      pc = new PositioningComponent();
      if (c != null) {
        pc.cell = c.getId();
        c.MapVectorHeightToCell(pos);
        System.out.println("Entity placed at "+pos);
      } else {
        System.out.println("No cell found near "+pos);
      }
      pc.position.set(pos);
View Full Code Here

Examples of com.l2client.navigation.Cell.MapVectorHeightToCell()

    if (e != null) {
      Cell c = enm.FindClosestCell(pos, false);
      pc = new PositioningComponent();
      if (c != null) {
        pc.cell = c.getId();
        c.MapVectorHeightToCell(pos);
      }
      pc.position.set(pos);
      pc.heightOffset = 1f;
     
      em.addComponent(e.getId(), pc);
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.