I decided to use the Melee trace plugin to track the swing of the sword, and faced the problem that there is not enough opportunity to check which component was hit, it only allows you to check which actor received damage. I need to have information about which component got hit.
well if you do a Multi trace from the start to the end of your sword (you may need to use sockets) you will have a list of all intersecting actors
of course that probably costs some sort of resource to use
alternatively you could give the sword collision and try using that i think you can set the tick from there too
Hi @Metallic_emperor, I think I have a solution.
Sadly the Melee Trace Plugin only gives you the hit actor which means that if you want to get access to the Hit Result you would need to know some C++ and understand how the plugin works, but I know a solution that you can do in Blueprints.
When the weapon hits, it fires the event, notifying that something was hit. What you can do is once the plugin hits something, you can immediately do a trade of your own (Line Trace For Objects, Sphere Trace For Objects, etc.) which allows you get have access to a Hit Result which should have a option that returns the component hit. By doing this you will get to keep the functionality of the plugin and still have access to what you want.
Hope this helps!