Can I rotate a background node in the 3D World Editor

조회 수: 8 (최근 30일)
Ronny Landsverk
Ronny Landsverk 2017년 5월 20일
댓글: Ronny Landsverk 2017년 5월 27일
I want the z-axis to be the upwards-pointing axis in a 3D world. Is it possible to rotate a background-node such that the ground is parallel to the xy-plane rather than the xz-plane ?
  댓글 수: 1
Ronny Landsverk
Ronny Landsverk 2017년 5월 20일
편집: Ronny Landsverk 2017년 5월 20일
By the way, I think the documentation related to Simulink 3D Animation is not so useful for new users. I wish to learn the basics from a user perspective, e.g. how to perform rotations, syntax for the various input fields such as SFVec, SFRotation, when do I need a transform node, etc. If someone has tips on good " getting started with" Simulink 3D Animation, from a users perspective, please share.

댓글을 달려면 로그인하십시오.

답변 (1개)

Sebastian K
Sebastian K 2017년 5월 26일
Hi Ronny,
Sounds like all you need to do is to toggle to a different viewpoint, or maybe define a new viewpoint that will show your 3D world in the orientation you want.
You can do both of these by clicking on the "Viewpoints" menu item in the Simulink 3D Animation Viewer (see below image).
In regards to information for new users, there are some tutorials available in the Simulink 3D Animation documentation. As an example, refer to this page.
I hope this helps.
Sebastian
  댓글 수: 1
Ronny Landsverk
Ronny Landsverk 2017년 5월 27일
Hi Sebastian. I want the global z axis to be upwards pointing. A background node has a ground and a sky. By default the ground is spanned in the global xz plane. Hence the global vertical axis is the y axis. I want to rotate the background such that the ground is parallel to the xy plane. It has nothing to do with viewpoints.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Animation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by