Everytime I try to add a resized ModelInstance of a Model (made in 3ds max) to a Bullet world, I keep getting the same model, with no modified scale. This is my current code:
Objeto objmat = mapaactu.nameAndPutObjetos(obj.getMaterias().get(0).nombreasoci,(int)obj.getMaterias().get(0).cantidad);
world.addConstructor(objmat.nombreinterno, objmat.constructor);
Vector3 objmatpos = new Vector3(obj.entidadbody.getWorldTransform().getTranslation(Vector3.Zero));
Vector3 scala = new Vector3(obj.getMaterias().get(0).cantidad / 100f, obj.getMaterias().get(0).cantidad / 100f, obj.getMaterias().get(0).cantidad / 100f);
Quaternion rotacion = new Quaternion();
objmat.instancia.transform.getRotation(rotacion);
objmat.instancia.transform.set(objmatpos, rotacion, scala);
objmat.setEntidad(world.add(objmat.nombreinterno, objmat.instancia.transform));
However, the position component of the transform I get is always correct (it spawns where "obj" is)! I have debugged it and "scala" = (0.5f,0.5f,0.5f) What should I do to scale a model correctly before adding it to Bullet world?