How to output Print String into a UI Widget?

To preformat text:

To visualise the measuring process, try adding a spline component to whichever object is responsible for the measuring. Splines do not have rendering capability so you will need to create a mesh and use it as splinemesh. Make sure both are movable:

217188-sm.png

I’ve been using a mesh like this and it has served me well, ensuring the beam is visible from every angle:

You will also need a material for the Splinemesh itself: 2-Sided, Additive, used with Spline Meshes. Assign the material to the Splinemesh component visible in the screenshot above.

As default, splines have point 0 and 1. Place point 0 at start location and point 1 at the current hit vector produced by the laser (I’m assuming you’re tracing every frame). The Splinemesh does not automagically follow the spline, it needs to be updated:

1 Like