Tile Wall Identifier Properties - frasergeorgeking/UE4_BP_MazeGen_MIT GitHub Wiki
This section has been divided into two catagories - Variables and Events. Each category itemises the key properties of a given variable/event and provides screenshots where applicable.
The individual names of each variable/event are based on how they are defined within the BP_MazeController
class - different names or summaries may be used elsewhere in the project, such as within the Editor Utility Widget interface.
Table of Contents
Variables
Please find itemised documentation on the public variables of the tile wall identifier below - these variables determine both which tile actors are targeted, as well as the functionality of the line trace based wall identification process.
Target Tile Actors
images/wall-ident-props/target_tile_actors.png
An array of actor references to tiles in the scene. Must be manually populated via the Actor Picker.
Z Axis Line Trace Offset
images/wall-ident-props/z_axis_offset.png
The Z axis offset from the origin of the tile geometry, used as the start location for the line trace. Useful for tiles with gaps in the geometry which may result in the default location of the line trace missing.
Line Trace Range
images/wall-ident-props/line_trace_range.png
Determines the length of the line trace - a higher LineTraceRange = a longer line trace. Length can be previewed via calling Preview Line Trace Range with Debug Lines
.
Exported CSV File Name
images/wall-ident-props/exported_csv_name.png
The file name of the generated CSV. If left blank, file name will be auto generated based on current date and time.
Events
Please find intemised documentation on the public events of the maze controller below - these events are used to debug wall identifier settings and automatically generate tile data tables.
Preview Line Trace Range With Debug Lines
images/wall-ident-props/prev_line_trace.png
Uses the Debug Line functionality of UE4 to preview the line trace range, as determined by LineTraceRange
.
Test Line Trace
images/wall-ident-props/test_line_trace.png
Performs a Line Trace By Channel using the currently set properties. Allows a user to preview if the correct walls are hit.
Flush Debug Lines
images/wall-ident-props/flush_debug_lines.png
Removes all debug lines drawn by PreviewLineTraceRangeWithDebugLines
and/or TestLineTrace
.
Export Values to CSV
images/wall-ident-props/export_values_to_csv.png
Creates a tile data table for each TargetTileActor
in each individual orientation (0°, 90°, 180° & 270°).