createBody
Class: Aero.Animation
Namespace: Aero
Create body and its associated patches in animation
Syntax
idx = createBody(h,bodyDataSrc)
idx = createBody(h,bodyDataSrc,geometrysource)
Description
creates a new body using the body data source file idx
= createBody(h
,bodyDataSrc
)bodyDataSrc
, makes
patches for the body, and adds the body to the animation object h
. This
command assumes a default geometry source type set to Auto
. It returns
idx
as the body index. The new body created is an Aero.Body
object.
creates a new body, makes patches for the body, and adds the body to the animation object
idx
= createBody(h
,bodyDataSrc
,geometrysource
)h
. geometrysource
is the geometry source type for
the body.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2007a