Main Content

removeBody

Class: Aero.Animation
Namespace: Aero

Remove one body from animation

Syntax

h = removeBody(h,idx)

Description

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

Input Arguments

expand all

Aerospace animation object, specified as an Aero.Animation object.

Body index, specified as a scalar.

Examples

expand all

Remove the body identified by the index, 1.

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

Version History

Introduced in R2007a