29-04-2024, 04:19 AM
(28-04-2024, 06:53 PM)josemendez Wrote: Hi!
contact.pointA is a barycentric point on the simplex, averaging it together with contact.pointB (which is a point on the surface of the collider, expressed in solver space) doesn’t make any sense. See:
https://obi.virtualmethodstudio.com/manu...sions.html
Thank you, I got the position correct now.
I'm using Vector3 contactNm = contact.normal.normalized;
Is this correct? I think it should be inverted.