Hi,
I’m creating a scene component that does some stuff on its own and devs be able to change the shape (box, capsule, sphere) and change the extents of it.
I want to be able to draw the shapes inside the viewport of actor when scene component is attached to actor. Adding the debug drawing inside tick component results in only drawing them during gameplay. But that is not good enough to easily tweak values in blueprint.
I checked how UCapsuleComponent and UBoxComponent which are UPrimitiveComponent, does this and they generate geometry using CreateSceneProxy function and updating Physics for collisions etc but that seems like a overkill for my use case since I don’t need geometry to be added to my component.
How can I draw debug lines and shapes inside actor viewport (and in editor viewport) from a scene component?
Thanks