-
Notifications
You must be signed in to change notification settings - Fork 14
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

- In the construction script draw some lines

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

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

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.