I try to use mergeObjects() merge an object ,but the object can't rotateX , rotateY , rotateZ .
I'm sorry, but I don't understand your question yet. Could you please explain it in more detail? It might be helpful if you would provide some source code to demonstrate the problem you are experiencing. Sometimes a diagram helps to explain a problem, also.
Object3D[] beetle = Loader.load3DS("impreza" + c + "impreza.3ds", 6f);
car= new Object3D(0);
for (int i = 0; i < beetle.length; i++) {
Object3D part = beetle[i];
part.setCenter(SimpleVector.ORIGIN);
part.rotateX((float) -Math.PI / 2);
part.rotateMesh();
part.setRotationMatrix(new Matrix());
car= Object3D.mergeObjects(car, part);
}
I want use JButton control "car" rotate. but i can't
Have you checked if your button's listener method is actually being called?
thanks , i already resolve the questions!
thanks!