Hey, i am trying to understand how i can access variables from other BPs. Here is what i am trying to do:
-
Inside the character BP i store mouse movement inside a vaector variable “Mouse_Pos”
-
Inside the character BP i spawn a projectile.
-
Inside the Projectile BP i want to override “Set Physics linear velocity” with my variable “Mouse_Pos” from the character BP. So i can control the direction the projectie is going with my mouse.
However i cannot access the variable “Mouse_Pos” inside the Projectile BP. How do i do that / Is there a better way to manipulate the projectile velocity.