Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Debug Collisions position and normal
#3
(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.

[Image: rkYK2ac.png]
Reply


Messages In This Thread
RE: Debug Collisions position and normal - by spikebor - 29-04-2024, 04:19 AM