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

Remove one body from animation


h = removeBody(h,idx)
h = h.removeBody(idx)


h = removeBody(h,idx) and h = h.removeBody(idx) remove the body specified by the index idx from the animation object h.

Input Arguments

hAnimation object.
idxBody specified with this index.


Remove the body identified by the index, 1.

h = Aero.Animation;
idx1 = h.createBody('','Ac3d');
h = removeBody(h,1)
Was this topic helpful?