# Melee Weapon trace

**URL:** <https://forums.unrealengine.com/t/melee-weapon-trace/483457>\
**Category:** Community & Industry Discussion\
**Tags:** Trace, weapon-system, unreal-engine, melee, question\
**Created:** [May 16, 2021, 12:05pm UTC](https://forums.unrealengine.com/t/melee-weapon-trace/483457 "2021-05-16T12:05:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Killedge](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Killedge](https://forums.unrealengine.com/u/Killedge)\
**Post date:** [May 16, 2021, 12:05pm UTC](https://forums.unrealengine.com/t/melee-weapon-trace/483457/1 "2021-05-16T12:05:21Z")

</div>

Hi,

I have a question about melee weapon trace, right now I using a AnimNotifyState and override the function “Recieved Notify Tick”, which draws the sphere collision when play montage. My setup is that character have only one socket for multiple weapon which are attached via skeletalmesh component. Problem is getsocketlocation in animnotyfistate target the skeletalmesh of character not the skeletalmesh of weapon, so the capsule is draw at character 0 position, how can I solve it?

 ![338968-animnotifystate.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/f/7/4f708740f12d37aa4bbfac3dac93f9386532f7e4.jpeg)

![338969-character-sekeleton.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/4/ca41609989fd0a35110b112fa9f28b30a0a358e4.jpeg)

![338970-weapon-skeleton.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/6/3/a63b2833a43cfa3b8d46e7a1fb2d08996a56fb4b.jpeg)

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [May 16, 2021, 3:57pm UTC](https://forums.unrealengine.com/t/melee-weapon-trace/483457/2 "2021-05-16T15:57:42Z")

</div>

Hello! But why are you keeping this logic in Character Anim? Is this effect connected with character and not with weapon? In fact I dont understand what is _weapon\_trace\_start_ and _weapon\_trace\_end_…
