Are bullets affected by ship momentum?

Bob Ross

Active member
Joined
Dec 9, 2019
Messages
33
#1
I just saw one of the ship battle videos, and it was awesome, but I was wondering why the bullets seem to appear behind the ship when they are fired. Is this just a lag or processing thing, or are bullets unaffected by ship momentum?
 

five

Well-known member
Joined
Jun 15, 2020
Messages
138
#2
Probably code and physics engines related. Imagine it like this: The engine gets the order to fire. First it gets the coordinates of the barrel (aka. the place the bullets comes out. Then it spawns the projectile giving it a certain velocity. Now if your ship is moving it could happen, that the bullets appear disconnect from the barrel muzzle, since the engine has a certain tick rate it refreshes. Basically you shoot while moving and move so far in the little time the physics engine is not checking, that the bullet spawns elsewhere
 

CalenLoki

Well-known member
Joined
Aug 9, 2019
Messages
466
#3
Projectiles do not inherit ship momentum. At least those fired from ship-mounted weapons.
Hand weapons are supposed to inherit momentum, but someone checked and they actually don't

In the video it could be lag as well - as you see those detached shoots on other peoples ships.

Physics engine has some problems as well. IIRC it got fixed, but players used to get killed by their own ship weapons. But it was mostly related to player hitbox lagging behind the ship, rather than muzzle lag. That one is precise enough to safely place weapons internally, with just tip of barrel sticking out.
 
Joined
Dec 9, 2019
Messages
33
#5
Projectiles do not inherit ship momentum. At least those fired from ship-mounted weapons.
Hand weapons are supposed to inherit momentum, but someone checked and they actually don't

In the video it could be lag as well - as you see those detached shoots on other peoples ships.
Hmmm... Thanks for your reply. It seems like an important thing for any projectile to inherit the momentum of the ship it's on for aesthetics and being more accurate in battles. It is good that this feature is planned for players though.
 
Top