How do i maintain the speed of my projectile bullets?

Ashtarias
Sat, 01 Aug 2020 09:06:12 +0000
World Creation

Currently when i fire my projectile, it “flies” fine, but when i run in the same direction as my projectile, it visibly slows down on my screen.

I’ve tried printing the relative velocity of my projectile and char to my screen, and it goes from 1000 when my char is stationary to about 400 when i start running in the same direction.

I assume it’s this drop in relative velocity that’s causing the visible slowdown in my projectile’s flying speed. How do i make it not slow down?
I’m thinking one possible way would be to do calculations in my projectile blueprint to ensure that the relative velocity stays the same?

But i’m hoping to eventually make it a networked multiplayer, so i’m guessing that this method wouldn’t work?

3 posts - 1 participant