AgrfModel
(AgrfModel)
August 20, 2020, 11:23pm
1
Hi everyone ! I’ve made a blueprint to detect “shoot” on other players in a multiplayer game. These players character are child to a another player character.
When I use this blueprint, the player is’nt detected. Do you know why ? All the collision are good.
PS: Sorry for my english, i’m french and you know how we are ; )
Thanks
Tuerer
(Tuerer)
August 20, 2020, 11:36pm
2
Try checking Ignore Self. The sphere trace might be hitting the owning actor at the very start.
BTW that sphere radius is huge. Maybe you’d be better off using Line Trace, like you say in the title?
Are you saying the players are a component of another actor? In that case you need to use the component pin on break result.
AgrfModel
(AgrfModel)
August 21, 2020, 2:53pm
5
I tried with Line Trace (and no sphere trace). But that doesn’t work.
AgrfModel
(AgrfModel)
August 21, 2020, 2:56pm
6
No that a blueprint class, child of a character.
It should still work, I’m thinking maybe you have the collision set incorrectly. It can be fiddly sometimes…
AgrfModel
(AgrfModel)
August 21, 2020, 8:48pm
8
i’ve tried with a box collision and that doesn’t work…