Vortex Sensors in Unreal Step-by-Step
Â
First, create a simple Mechanism containing a Lidar as follows.
Start by creating a fresh empty Mechanism in the Vortex Editor.
Then search for Lidar in the toolbox and drag-and-drop the Lidar Sensor onto the viewport.
Once added to the Mechanism change the Lidar parameters if desired, then hit Save and save to a location of your choice for now. When the Unreal project is created in the next step, or if you already have an Unreal project, we will move the Mechanism to the Content folder of the project.
Make sure the Point Cloud Visualization input is enabled
Â
Now, create a new Unreal Project:
Â
Enable the Vortex Plugin, then restart the Unreal Editor.
Â
Copy the Mechanism to the Content folder of the Unreal project
Â
Drag-and-drop the Mechanism file into the Unreal project asset browser
Â
Add an empty actor to the level and add a Mechanism actor component to that actor.
Â
Assign the imported Lidar vxmechanism file to the Vortex Mechanism property of the Mechanism actor component
Â
Open the level blueprint and add the logic to start the vortex simulation on begin play and end the simulation on end play
Â
Â
Save the Level using CTRL+S and configure the default level to launch on play. Then Save All by doing CTRL+SHIFT+S.
Â
Â
Hit Play and you should see the Lidar visualization accessories (hit points).
Â