Hi,
I want to spawn a projectile on LMB, keep it in front of the player and on LMB release shoot it.
My problem is, when I use set actor location in my projectile BP, my player gets moved around weirdly.
Why doesnt it work? Thanks
Hi,
I want to spawn a projectile on LMB, keep it in front of the player and on LMB release shoot it.
My problem is, when I use set actor location in my projectile BP, my player gets moved around weirdly.
Why doesnt it work? Thanks
I think it’s because you are trying to put the projectile and player in EXACTLY the same world location… so the collision in your player is moving you
Thanks bro! That was it.
your welcome… imho the best way to achieve what you are aiming for is:
in your Character/Pawn BP… put a Scene component in the location to represent where you’d like your projectiles to spawn
in your Projectile BP… Get World Location of the Scene component
Good luck!