| Contents | Index |
Create body and its associated patches in animation
idx = createBody(h,bodyDataSrc)
idx
= h.createBody(bodyDataSrc)
idx = createBody(h,bodyDataSrc,geometrysource)
idx
= h.createBody(bodyDataSrc,geometrysource)
idx = createBody(h,bodyDataSrc) and idx = h.createBody(bodyDataSrc) create a new body using the bodyDataSrc, makes its patches, and adds it to the animation object h. This command assumes a default geometry source type set to Auto.
idx = createBody(h,bodyDataSrc,geometrysource) and idx = h.createBody(bodyDataSrc,geometrysource) create a new body using the bodyDataSrc file, makes its patches, and adds it to the animation object h. geometrysource is the geometry source type for the body.
| bodyDataSrc | Source of data for body. |
| geometrysource | Geometry source type for body:
|
| idx | Index of the body to be created. |
Create a body for the animation object, h. Use the Ac3d format data source pa24-250_orange.ac, for the body.
h = Aero.Animation;
idx1 = h.createBody('pa24-250_orange.ac','Ac3d');

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |