custom UAV vehicle simulation scene views in UE4.27

34 visualizaciones (últimos 30 días)
泽凯
泽凯 el 19 de Nov. de 2024 a las 6:37
Comentada: 泽凯 el 23 de Nov. de 2024 a las 6:30
Hi,
While conducting UAV simulation using MATLAB/Simulink 2023b and Unreal Engine 4.27, I added a custom UAV model and selected the "vehicle name" for the scene view. Upon starting the simulation, I noticed that the perspective was underneath the UAV's fuselage (possibly perspective 5). I attempted to switch to perspective 2 as instructed in the tutorial, but pressing the numeric keypad had no effect.

Respuestas (1)

Nishan Nekoo
Nishan Nekoo el 20 de Nov. de 2024 a las 13:15
Hello! I just wanted to clarify whether you are adding this custom UAV model using the Simulaion 3D UAV Vehicle, or are you adding this custom mesh using the Simulation 3D Actor?
When using the latter, the predefined perspectives do not apply. When using the former, here is the workflow: https://www.mathworks.com/help/uav/ug/prepare-custom-vehicle-mesh-for-the-unreal-editor.html.
If using the Simulation 3D Actor, one workaround is to create another empty actor parented to your UAV, and with a desired offset from your UAV then select this actor as your scene view, so that your custom actor comes into view the way that you want.
Hope that helps!
Nishan
  1 comentario
泽凯
泽凯 el 23 de Nov. de 2024 a las 6:30
Thank you for your suppott, I am sure that I use Simulaion 3D UAV Vehicle Block to add this custom UAV model in Simulink, and I follow the website to set the mesh, but it doesn't work.

Iniciar sesión para comentar.

Etiquetas

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by