Merge pull request #57318 from TechnoPorg/fix-face-area-calculation
This commit is contained in:
commit
6ff6ec612d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue