- Home /
Question by
lordCasper · Apr 24, 2018 at 11:14 AM ·
physicsdestruction
How do I get the contact area of a collision?
My goal is to calculate the stress on an object with 'rho = F / A'. I believe that F is equal to 'Collision.impulse (correct me if I am wrong). The only variable that needs more calculation is A (the contact area). The contact points are given by Collision.contacts, but I do not know how I can get the area between the contact points.
The stress variable will allow me to get the strain variable by simulating a stress-strain relation with a diagram. I can use the strain variable and the length of an object (L) in 'strain = dL / L -> dL = strain * L'. I can use the length difference (dL) to reshape the object after the collision.
Comment