Aggiustato deriva offset
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user