a16g
New member
View attachment turret.mp4
I parried that guy and my turret won't shoot him! What gives?!
It's because he's standing obviously!
After an hour of debugging I have determined that turrets cannot shoot knocked down players when it would obviously be the best time to shoot them. This is because turrets use the wrong target when a player is knocked down.
*Speculation:*
On hero characters, I believe turrets are targeting the "shoot_test_standing" and "shoot_test_crouching" attachment points on characters, though not exactly those points, I think they're just using them for a Y axis reference.
The real attachment point is actually the X and Z axis of the bounding box. Or something similar to that. Possibly the hit box? Hit sphere? Not sure what shape the hit box is...
Either way, it doesn't really matter because while these attachment points seem fine. They don't work when a character gets knocked down. For some reason when a character gets knocked down, they're put in the standing state, so the turrets aim at the standing target. But on most characters the standing target completely misses them because they're effectively crouching in their animation!
View attachment aim_bones.mp4
NPCs don't seem to have this issue. I'm assuming because on those, turrets aim at the "attach_hitloc" point. Ideally, heroes would have an attachment point that's similar and follows the target through the animation. Or maybe the turret just gets to hit the downed target even if it looks like a miss. idk i'm just a bug reporter
I parried that guy and my turret won't shoot him! What gives?!
It's because he's standing obviously!
After an hour of debugging I have determined that turrets cannot shoot knocked down players when it would obviously be the best time to shoot them. This is because turrets use the wrong target when a player is knocked down.
*Speculation:*
On hero characters, I believe turrets are targeting the "shoot_test_standing" and "shoot_test_crouching" attachment points on characters, though not exactly those points, I think they're just using them for a Y axis reference.
The real attachment point is actually the X and Z axis of the bounding box. Or something similar to that. Possibly the hit box? Hit sphere? Not sure what shape the hit box is...
Either way, it doesn't really matter because while these attachment points seem fine. They don't work when a character gets knocked down. For some reason when a character gets knocked down, they're put in the standing state, so the turrets aim at the standing target. But on most characters the standing target completely misses them because they're effectively crouching in their animation!
View attachment aim_bones.mp4
NPCs don't seem to have this issue. I'm assuming because on those, turrets aim at the "attach_hitloc" point. Ideally, heroes would have an attachment point that's similar and follows the target through the animation. Or maybe the turret just gets to hit the downed target even if it looks like a miss. idk i'm just a bug reporter