Cannot control View Up Vector in Simulink 3D animation viewer

2 visualizaciones (últimos 30 días)
Brendan Moran
Brendan Moran el 30 de Nov. de 2022
Comentada: Brendan Moran el 2 de Dic. de 2022
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?

Respuestas (1)

Jan Houska
Jan Houska el 2 de Dic. de 2022
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 comentario
Brendan Moran
Brendan Moran el 2 de Dic. de 2022
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.

Iniciar sesión para comentar.

Categorías

Más información sobre Simulation en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by