removeBody (Aero.Animation) - Remove one body from animation

Syntax

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

Description

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

Examples

Remove the body identified by the index, 1.

h = Aero.Animation;
idx1 = h.createBody('pa24-250_orange.ac','Ac3d');
h = removeBody(h,1)

See Also

addBody, createBody, moveBody, updateBodies

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS