Hello, i have a gun with a projectile instantiation. So when the player moves, the instantiated projectile is influenced by the players movement. In the video, when the player is moving right, the projectile hits with the gun collider and you can see the hit FX at that point. When the player is not moving and we shoot the gun, the projectile goes with a forward force as expected.
Rigidbody projectileRigid = projectile.GetComponentInChildren<Rigidbody>();
projectileRigid.AddForce(MuzzlePointTransform.forward * ShotForce, ForceMode.VelocityChange);```
(P.S: i tried ``` projectileRigid.AddRelativeForce(Vector3.forward * ShotForce, ForceMode.VelocityChange);``` but the result is the same)
if you are reading this, thank you for your time. Really appreciate it.