How to see mesh at Point2?

In this lesson we set up arrow components to mark start and destination points for a moving mesh.
It is easy to set the start point precisely, because the mesh moves with the MovableActor Point1.

I would like to see a wireframe/ghost mesh at Point2 (in editor only). This would let me align the destination accurately (e.g. a platform that moves across a deep chasm, that ends precisely aligned with a ‘docking station’ on the far side).

How might I go about doing this?
Is there an equivalent to ArrowComponent that accepts a mesh but only draws in Editor? Or maybe there’s a box in the Mesh settings somewhere that hides them in builds?

Whenever I’ve done this, having a diamond with the XYZ arrows usually is good enough for this. It should be possible, in theory, to enable a debug shape when in debug mode that moves with the arrows.

This may help:

What’s the proper way to add an editor-only component? - Development / Programming & Scripting - Epic Developer Community Forums (unrealengine.com)

Also this:
UActorComponent::IsEditorOnly | Unreal Engine Documentation

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms