custom UAV vehicle simulation scene views in UE4.27

30 visualizaciones (últimos 30 días)
泽凯
泽凯 el 19 de Nov. de 2024 a las 6:37
Respondida: Nishan Nekoo el 20 de Nov. de 2024 a las 13:15
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

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