Hi, I am implementing an melee combat system using cpp.
PlayerCharacter have a weapon as childactor, and attack logic is started by anim notify (there is also attack end notify.)
And then, weapon class calls “Attack()” which include the timer.
A timer calls “linetrace check function” with 0.001s intervals.
But, i found that the counts of linetrace debug line are too few.
So, i tried to check the location of sockets (grab point to end point),
it seems they are incorrect as if they are not update every tick.
This is the screenshot. The linetrace is called every 0.001s with onscreendebug message. You can find there are only two debug line and repeated location message. I think there are much more lines but they are overlapping with each other because of lazy location update.
Is there any solution to solve this strange problem?