Author Topic: How do I stop projectiles from carrying momentum  (Read 959 times)

The default gun does this, where moving left will fire the bullet a lot more to the left, jumping will move the bullet up more and so on, and I'm wondering how exactly you stop this from happening.

It's a field called velInheritFactor or velInherit on the projectile data. Turning it to 0 means that source velocity will not be inherited by the projectile

It's a field called velInheritFactor or velInherit on the projectile data. Turning it to 0 means that source velocity will not be inherited by the projectile

Yep, the field is velInheritFactor on the projectile. Setting it to anywhere from 0.1 - 1 will scale the velocity with the players velocity, and setting it to 0 will remove the effect.