Tracers are seen to deflect off vehicles, even if bullet penetrated the vehicle

Issue #433 resolved
Matt Hands created an issue

Shoot a soft skinned vehicle with a weapon with tracers and the tracers bounce off the vehicle, even though the bullet penetrates and damages it.

Fundamental problem is that the bullet class does not know whether it penetrates a vehicle or not. It plays the same impact effect regardless and a tracer deflects. The bullet always calls TakeDamage() on the vehicle and leaves it to the vehicle to decide whether it was penetrated and damaged. To play the correct impact/deflection effect, the bullet needs to be a bit smarter.

Comments (2)

  1. Matt Hands reporter

    Fixed in commits 41bd6a1 and 3267880, as part of AP bullet functionality.

    Basically a bullet is now smart enough to know whether or not it penetrated a vehicle, the same as a shell. That allows it to handle its effects better.

  2. Log in to comment