Third Person Shooting, projectile directions + Bullet spread

Recker
Sat, 05 Jul 2014 09:22:42 +0000
World Creation

Hi there, what I would like to do is have the projectile move towards the centre of the screen (where the crosshair is placed at) rather than just coming straight out of the characters chest and moving foward from there, is there a way that the projectile movement component can be changed or is there an option to allow for this, or would I have to use some other method of making the projectile move?

As an extension, would altering the direction the projectile flies along randomly each shot be possible?

Currently I just have the projectile fly out of the characters chest, but as you can see here, the projectile never actually meets the crosshair, and if the character is closer to the wall the projectile appears even farther from the crosshair.

EDIT: As you can see in the image, the blue ‘X’ is where the projectiles spawn, the red arrow path is how they travel, which is not broken, that’s how the projectile is set up, to fly straight forward from where it’s spawned based on that direction, but what I want is to alter that direction so that the projectile always flies towards and eventually intersects the crosshair. So essentially I’m asking how to modify the direction of the projectile, or what direction I should go in to do so.

Blueprint for reference, although it’s nothing special or complicated.

Would using the velocity vector input rather than the initial and speed inputs of the projectile movement be a start?

Any help or pointers in the right direction would be much appreciated.

Thanks.

EDIT: made the picture clearer…

35 posts - 12 participants