Main Content
moveBody
Class: Aero.Animation
Namespace: Aero
Move body in animation object
Syntax
moveBody(h,idx,translation,rotation)
Description
moveBody(
sets a new position and attitude for the body specified with the index
h
,idx
,translation
,rotation
)idx
in the animation object h
.
translation
is a 1-by-3 vector in the aerospace body coordinate system.
rotation
is a 1-by-3 vector, in radians, that specifies the rotations
about the right-hand x-y-z coordinate
axes. The order of application of the rotation is
z-y-x (yaw, pitch, and roll
(Y-P-R)).
Input Arguments
Examples
Version History
Introduced in R2007a