%% Move Aero.Animation Body
% This example shows how to move an Aero.Animation body with the index 1 to position offset from the original by  + [0 0 -3] and rotation, rot1.

h = Aero.Animation;
idx1 = h.createBody('pa24-250_orange.ac','Ac3d');
pos1 = h.Bodies{1}.Position;
rot1 = h.Bodies{1}.Rotation;
h.moveBody(1,pos1 + [0 0 -3],rot1);

% Copyright 2012 The MathWorks, Inc.