i have two files,a.ser,a1.3ds.
there are the same thing just different format,this is the big model which contains many parts.i want every part of it is the single objetc3D
in jpct.here is the code:
which is ok:
Object3D[] waypoint= Loader.load3DS(res.openRawResource(r.raw.a1), 1);
world.addObject(waypoint[1]);
which is wrong:
Object3D[] waypoint= Loader.loadSerializedObjectArray(res.openRawResource(r.raw.a));
world.addObject(waypoint[1]);
ps:the model have 100 parts,use load3ds everything is ok.
use loadSerializedObjectArray,just world.addObject(waypoint[0]) is ok,and show 100 parts.
i think,in loadSerializedObjectArray all of parts is saved in waypoint[0] not waypoint[].
How can i fix it?
thx,ego.