Skip to content

Line Batch Component

Ryan Sheffer edited this page Jul 3, 2022 · 1 revision

The RyLineBatch component is a very useful component for showing debug lines per actor at editor time and at runtime. Like Epic shows special lines per component such as spheres to show the light source and sound source influence, you can use RyLineBatch to show your own lines related to your gameplay such as squad patrol lines, etc.

Adding lines to your actor is very simple:

  • Add a RyLineBatch component to your actor

Add line batch component

  • In the construction script draw some lines

Draw some lines

  • Your lines will show in the component viewport and the editor viewport

Lines in component view Lines in editor view

  • Type "line batch" to filter the component's functions, there are many pre-made shapes to draw

Lots of lines!

You can draw lines in editor view and at runtime. If you want to draw lines at runtime draw them from your runtime events like BeginPlay and Tick.

Clone this wiki locally