quote:
Original post by a2k
because papers i''ve read on collisions always discuss single point collisions, but not multiple collisions.
Okay, I think we''re finally getting to the heart of understanding the specific problem you are trying to solve.
Let me see if I have this straight.
You know how to implement single point collision detection and collision response, but you''re not sure how to do multiple point detection and response... correct?
Assuming this is correct, there are two ways that I can come up with off the top of my head to deal with this situation.
Consider the bank angle of the aircraft at the point of contact with the ground. If this angle is not zero then one wheel will touch before the other.
Method a) Treat all angles less than epsilon (where epsilon is a small number) to be the same as zero and then treat your main undercarriage as a single contact point.
method b) For angles larger than epsilon, you can deal with the two contacts individually. The first contact will cause the aircraft to rotate onto the other gear since gravity will be countered (at least partially) by an off centre contact force. You then have a rotational dynamics problem to solve, but it shouldn''t be too difficult.
If the pilot is particularly bad and happens to drop the nose wheel onto the ground before getting the aircraft settled on the main gear, then just deal with the same rotational problem as method b). If they happed to ONLY get the nose wheel onto the ground, it''s going to break since they''re most likely flying INTO the ground!
I hope this helps further. If my assumption above is incorrect, could you please elaborate on the particular difficulty you are having.
Cheers,
Timkin