In UDK the scale of damage for ramming vehicles is low, after adjusting it the vehicle the player drives receives collision damage, but the other vehicle does not, whether there is a bot inside or not. I tried handling the Bump event in Vehicle.uc (added it) and subtracting 50 Health, but that does not happen, the vehicle remains intact from vehicle collisions, but I damage it by running into it (on foot) or by other means of hitting it on something. Any clue as to what stops the vehicle from taking damage when hit by another vehicle?
Asked
Active
Viewed 200 times
1
-
1It looks like UTVehicle::RigidBodyCollision() is what calls TakeDamage() when one vehicle runs into another. Might check if that's getting called properly on both vehicles in the event of a collision? – Phillip Aug 21 '14 at 15:42
-
tweaked that quite a bit, it's just as if it doesn't apply, but I'm still trying out things, maybe I've just missed something.. – user3079666 Aug 21 '14 at 19:27
-
Looks like it worked, I'll comment a confirmation tomorrow, if it did indeed work please post it as an answer so we cal close this as answered. Thanks a million, wasted two days trying to figure this one out! :) – user3079666 Aug 21 '14 at 20:09
-
Glad you figured it out! Sorry for the delay. I've posted my comment as an answer. :) – Phillip Sep 04 '14 at 19:48
1 Answers
2
It looks like UTVehicle::RigidBodyCollision() is what calls TakeDamage() when one vehicle runs into another. Might check if that's getting called properly on both vehicles in the event of a collision.

Phillip
- 600
- 1
- 5
- 12