Taking cover from drones

How can make it possible for my character to hide behind cover? My character is behind the bus stop but the drone still sees me through walls and attack me. Is there a way to make my character able to hide from drones?

The reason the drone can “see through walls” is that it only cares if the player is overlapping it’s sphere collision which will not take into account any objects in-between.

In order to add this extra functionality, you can do a line-trace in the overlap event from the drone to the player. If nothing is between them, then the drone “sees” the player and can target them.

ok thank you. I will try this feature

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms