Documentation

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.

removeBody

Class: Aero.Animation
Package: Aero

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.

Input Arguments

hAnimation object.
idxBody specified with this index.

Examples

Remove the body identified by the index, 1.

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