Merge pull request #57318 from TechnoPorg/fix-face-area-calculation
This commit is contained in:
commit
6ff6ec612d
|
@ -245,7 +245,7 @@ void GodotSoftBody3D::update_area() {
|
|||
const Vector3 a = x1 - x0;
|
||||
const Vector3 b = x2 - x0;
|
||||
const Vector3 cr = vec3_cross(a, b);
|
||||
face.ra = cr.length();
|
||||
face.ra = cr.length() * 0.5;
|
||||
}
|
||||
|
||||
// Node area.
|
||||
|
|
Loading…
Reference in New Issue