Miglioramento precisione rotazioni

This commit is contained in:
2026-05-31 12:47:46 +02:00
parent 57412060b5
commit 28abf04232
12 changed files with 29 additions and 50 deletions
+2 -2
View File
@@ -5,9 +5,9 @@ class PivotJoint : public JointInterface {
void rotate(unsigned int id) override;
void traslate(unsigned int id) override;
rb::Vector3_s oldRot;
rb::Vector3 oldRot;
rb::Vector3 pivot;
std::vector<rb::Vector3_s> oldCRot;
std::vector<rb::Vector3> oldCRot;
//possono servire per calcolare l'offset rispetto alla posizione precedente
rb::Vector3 oldPos;