


Moving Boxes and Crates, amination...
Question:
How can I animate a box moving around inside a figure window? Any good tutorials or websites anyone can recommend? I'm not having much luck with some of the manuals, and the online tutorials in MATLAB are somewhat lame, although I may dig into the bending truss demo for help.....
Answer:
I have a bunch of GUI samples that show how to do various tasks. One
example shows how to drag a line around the figure window. Download the
Sample GUI Files at http://users.ece.gatech.edu/~jr/MatlabFiles/ and look at
the example called GUIDemo. It's heavily commented.
The examples were written for R11, but the basic animation technique remains
the same.
what about drawing a box (with e.g. 'line' or cylinder(1,4) ) and then
changing the view point with view.
With the new patch it seems you can't move crates anymore. This is most
annoying in the treasure room at Coveteous as much of the loot appears
under crates. I am able to grab the stuff that has corners sticking out,
but in the past, whole piles of scrolls would be revealed by moving a
box.
Submit Your Comments and Answers
