| Aerospace Toolbox | ![]() |
Change body position and orientation as function of time
update(h,t)
h.update(t)
update(h,t) and h.update(t) change body position and orientation of body h as a function of time t. t is a scalar in seconds.
Note This function requires that you load the body geometry and time series data first. |
Update the body b with time in seconds of 5.
b=Aero.Body;
b.load('pa24-250_orange.ac','Ac3d');
tsdata = [ ...
0, 1,1,1, 0,0,0; ...
10 2,2,2, 1,1,1; ];
b.TimeSeriesSource = tsdata;
b.update(5);![]() | show (Aero.Animation) | update (Aero.Camera) | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |