Documentation Center

  • Trial Software
  • Product Updates

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?