I am aware that there is no easy way to detect this, so I thought that I would see if anybody has found a reliable way of detecting this through the current version of InSim.
I want to be able to detect if someone has "crashed". By crashed I mean that they are no longer on their wheels.
I thought about checking to see if the Z co-ordinates, direction and heaing go crazy or do something unexpected. This would work for large crashes where the car goes flying as high as the pidgeons - however I don't think this would work very well if they just clip the curb wrong and ends up on their side.
If this is not detectable with any of the current MCI/CompCar packets, I would like something to be added into them, maybe a boolean saying if they are on wheels, or not on wheels.
Thanks in advance if anybody has any ideas on this!
- Mark
I want to be able to detect if someone has "crashed". By crashed I mean that they are no longer on their wheels.
I thought about checking to see if the Z co-ordinates, direction and heaing go crazy or do something unexpected. This would work for large crashes where the car goes flying as high as the pidgeons - however I don't think this would work very well if they just clip the curb wrong and ends up on their side.
If this is not detectable with any of the current MCI/CompCar packets, I would like something to be added into them, maybe a boolean saying if they are on wheels, or not on wheels.
Thanks in advance if anybody has any ideas on this!
- Mark