Main Content

move

Class: Aero.Node
Namespace: Aero

Change node position and orientation versus time data

Simulink 3D Animation Viewer used by move has been removed. Aero.VirtualRealityAnimation does not open or play animations. Use sim3d classes in Unreal Engine 3d Environment to create and view a 3D environment instead. For more information on transitioning to the new 3D environment, see Transition Aero.VirtualRealityAnimation to Unreal Engine 3D Environment.

Syntax

move(h,translation,rotation)

Description

move(h,translation,rotation) sets a new position and orientation for the body object h.

Input Arguments

expand all

Aerospace node object, specified as an instance of the Aero.Node class.

Translation matrix, specified as a 1-by-3 matrix. translation is defined in the aerospace body x-y-z coordinate system or another coordinate system.

If translation is defined in another coordinate system, you can use the CoordtransformFcn function to move it to an aerospace body. The specified aerospace body coordinate system is defined relative to the screen as x-left, y-in, z-down.

Data Types: double

Node rotation, specified by a 1-by-3 matrix in radians. The rotation is specified as an Euler angle 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)).

Data Types: double

Version History

Introduced in R2007b

expand all

See Also