10-06-2024, 10:35 AM
(This post was last modified: 10-06-2024, 10:35 AM by josemendez.)
Contacts always take place between two things. Your code only checks one of the 2 particles involved in each contact, so this will miss information. You need to do the same thing for c.bodyB.