Some projectile spawning question in first person template

Hi, I was tried to learn unreal engine by its first person template, but encountering some difficulties.

  1. Why “Gun Offset” in “spawn projectile” is (100,33,-10) and why this vector rotated by camera’s location will be the sphere’s forward?
    (its blueprint)

  1. Why it doesn’t use the “sphere” this socket’s location?
  2. Then I tried to use this socket, but it cause some error. Why?
    (the sphere’s position)

(blueprint)

other way to get socket’s location

(May I ask which way to get socket’s location is correct?)

but no matter way I use, only get this result (http://i.imgur.com/QRyDH6V.webm)
Why the projectile fly casually sometimes?
Thanks!

I don’t have an exact answer but i don’t understand why are you trying to change the original script? Doesn’t it work just fine?

To get where the projectile will spawn, the engine takes the rotation of the camera and adds a vector named gun offset: If it weren’t for that gun offset,the sphere would shoot from the very center of the camera straight forward.