private Entity createEntity(Vector3f pos) {
Entity e = em.createEntity(id++);
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);