Cannot control View Up Vector in Simulink 3D animation viewer

조회 수: 3 (최근 30일)
Brendan Moran
Brendan Moran 2022년 11월 30일
댓글: Brendan Moran 2022년 12월 2일
I am trying to control the viewpoint position and angle within a 3D animation in simulink. I can position the view and control where it is pointing using the orientation and position inputs, but the view up axis is not parallel to the earth. In other words, I am pointing at the object I want to, but sometimes the view is skewed or even sideways.
I notice this behavior when manually navigating around the simulation with the buttons on the lower toolbar. Is there an input that allows for the view up vector to be controlled?

답변 (1개)

Jan Houska
Jan Houska 2022년 12월 2일
Hi Brendan,
please try the Straghten Up button. It is available either as an item in the Navigation menu, a button on the taskbar (third from the left), or F9 hotkey.
Good Luck, Jan
  댓글 수: 1
Brendan Moran
Brendan Moran 2022년 12월 2일
Thanks Jan. Unfortunately I am trying to drive this via simulation parameters and not manual user inputs. I cannot find a function available that is similar to the Straighten Up button as an input.
The straighten up button also changes the pointing angle of the view/ camera, which I don't want. I only want to change the rotation of the camera, if that makes sense.

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

카테고리

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

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by