TMink / Digitales-3D-Feldbuch

Mozilla Public License 2.0
2 stars 0 forks source link

3d-part rotation doesn't rotate around center of mass #223

Closed JuHardtung closed 7 months ago

JuHardtung commented 8 months ago

As seen in the GIF below, the rotation doesn't rotate the model around its center of mass. I don't know if this is an issue of the model itself, but we used this exact model for testing purposes before without any issues.

rotationFail

TMink commented 7 months ago

With the new barycenter calculation, this problem no longer exists. With each new call of the 3D-Part, the center of mass is recalculated depending on the existing models.