Aggiustato deriva offset

This commit is contained in:
2026-06-02 16:44:46 +02:00
parent 28abf04232
commit 21f43f8bce
86 changed files with 7207 additions and 7874 deletions
+7 -1
View File
@@ -4,10 +4,16 @@ class PivotJoint : public JointInterface {
protected:
void rotate(unsigned int id) override;
void traslate(unsigned int id) override;
void updatePivot();
rb::Vector3 oldRot;
rb::Vector3 pivot;
std::vector<rb::Vector3> oldCRot;
rb::Vector3 pivot;
rb::Vector3 stPivot;
//angolo attuale pivot e offset
rb::Vector3 pivotAngle;
std::vector<rb::Vector3> offsetAngle;
//possono servire per calcolare l'offset rispetto alla posizione precedente
rb::Vector3 oldPos;