shift of shots during strafe.

al.bundy

New member
Hi,

when I strafe with my character the shots seem to be offset from the shooting point, I thought it was due to the speed of my character (which seems logical) but when testing at very slow speed it's the same.

I wanted to know if I could arrange this ?
 
The origin of the shot depends on the location of the Fire Point. Make sure this is where you'd expect. If you are strafing and have a slow moving projectile then it will appear as though the projectile originated from a point with an offset.
 
The origin of the shot depends on the location of the Fire Point.

This only happens when I strafe so I don't think that's the problem.

you can see this on this video with the weapon flame spitter and machine gun :

https://www.indiedb.com/games/super-kawaii-ninja/videos/weapons2

If you are strafing and have a slow moving projectile then it will appear as though the projectile originated from a point with an offset.

So I tried increasing the speed of the projectiles and it didn't change anything.
 
What module are you using? If you place a breakpoint within SpawnProjectile.GetProjectileDataToFire does it spawn the projectile in the correct location?
 
Top