Simulation 3D Spacecraft
Libraries:
Aerospace Blockset /
Animation /
Simulation 3D
Description
Note
Simulating models with the Simulation 3D Spacecraft block requires Simulink® 3D Animation™. If you had an Aerospace Blockset™ license prior to R2024a, you might be eligible to continue using Simulation 3D Spacecraft to simulate models in the 3D environment. For more information, see Opt-In Offer for Aerospace Blockset Unreal Engine Visualization Users.
The Simulation 3D Spacecraft block implements spacecraft in a 3D visualization environment using translation and rotation to place the spacecraft.
To use this block, your model must contain a Simulation 3D Scene
Configuration block. If you set the Sample time parameter of
the Simulation 3D Spacecraft block to -1
, the block uses the
sample time specified in the Simulation 3D Scene Configuration block.
The block input uses the spacecraft north-east-down (NED) right-handed (RH) Cartesian coordinate system.
X-axis — Along spacecraft longitudinal axis, points forward
Y-axis — Along spacecraft lateral axis, points to the right
Z-axis — Points downward
For more information, see About Aerospace Coordinate Systems.
Tip
Verify that the Simulation 3D Spacecraft block executes before the Simulation 3D Scene Configuration block. That way, the Simulation 3D Spacecraft block prepares the signal data before the Unreal Engine® 3D visualization environment receives the data. To check the block execution order, right-click each block and select Properties. On the General tab, confirm these Priority settings:
Simulation 3D Scene Configuration —
0
Simulation 3D Spacecraft —
-1
For more information about execution order, see Control and Display Execution Order.
Skeletons, Bones, and Meshes
Unreal Engine uses a skeleton, bones, and a mesh to define a 3D model. A skeleton is comprised of a set of bones. A mesh is the outer covering of the skeleton. Spacecraft parts are sections of the mesh, such as antenna or thrusters, that are linked to the bones. For more information, see https://docs.unrealengine.com/4.27/AnimatingObjects/SkeletalMeshAnimation/Skeleton/.
For more information on how the Simulation 3D Space block translation input arrays connect to spacecraft types, see Algorithms.