How can I get the initial position from where my projectile was fired? I tried getting ActorLocation from my Player Controller but it seems it’s not working as expected, the damaged actor gets the damaged sensed but doesn’t go exactly to the area where the Projectile was fired - it stays +/- half way from desired position, other times it just gets the location completely wrong.
Hello, I want to be able to get the vector from where the projectile was shot as my Damage Event Location, so when I hit my Bot, he senses the damage and proceeds to search at the specified location (which is the Event Location aka initial projectile spawn location aka where I fired )
hey there !
in your projectile blueprint , create a vector variable, make it instance editable and expose on spawn.
when you spawn your projectile, you will be able to set that variable using the spawn location, and read it later.