I’m trying to make a C++ Actor class with two (or more) meshes, and I want to show them in order as time passes. This is my code:
Seem pretty straightforward to me, I have two frames and I alternate the visibility between them. But it doesn’t work. The first frame always shows, and the second is always hidden. If I switch the meshes (load the second mesh on frame 1) then that mesh shows normally, and the other doesn’t. For some reason frame2 is never displayed. I’ve posted the result in the video bellow, when the mesh disappears the other mesh should be visible. Any help is appreciated.