This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Class: Aero.Animation
Package: Aero

Update bodies of animation object


h = updateBodies(time)


h = updateBodies(time) and h.updateBodies(time) set the new position and attitude of movable bodies in the animation object h. This function updates the bodies contained in the animation object h. time is a scalar in seconds.


Configure a body with TimeSeriesSource set to simdata, then update the body with time t equal to 0.

h = Aero.Animation;
h.FramesPerSecond = 10;
h.TimeScaling = 5;
idx1 = h.createBody('','Ac3d');
load simdata;
h.Bodies{1}.TimeSeriesSource = simdata;
t = 0;
Was this topic helpful?