Is it possible to detect when two vehicles collide?
#7

Quote:

when someone shoots the car, it loses health, but the driver caused the damge. cant be real.
i tried to do an accurate solution, but i am stuck at this too.

Ehm yeah, whatever then.


When two vehicles collide they must be very close to each other. Check the range of distances between two vehicles when they are directly next to each other by doing some tests.

As soon as a two vehicles crash into each other you just check upon OnVehicleDamageStatusUpdate whether a vehicle is in direct contact. To improve inappropriate triggers you can additionally check for damages on the possibly detected nearby vehicle, connect it to timestamps or whatsoever.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)