How do I create a flat plain barrier or spherical shield that will block projectiles coming from one side but ignore from the other?
For example a player pawns a shield that is a spherical bubble around them. The shield blocks all incoming projectiles but allows the owning player and anyone within the bubble to shoot through the shield unhindered?
Originally I did not believe that answer would work but after a long run of troubleshooting I finally got it to work…I don’t know what it was that I changed to make it work
Is there a way to cast to all Projectile types that overlap? If I really use this answer I will need to make a new cast for every projectile Actor and any other Actor type in my game that is capable of crossing the shield.
Now what I need to do for bullets that pass through this shield, they should be reset to their original Object type in the chance they can pass through additional One Way shields. Obviously I can set another trigger to OnEndOverlap to set the projectile back to the type Projectile.
As for player Pawns I realize I will need to make additional collision boxes specifically for pawns because the pawns that pass through the same overlap event will be subject to having their object types changed to projectile types.
Would be great if the collision box could differentiate objects colliding based on the actor’s forward vector within 180 degree range rather than a designated area box.