Cambio sistema per rotazione bacino (non funziona)
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
|
||||
Vector3 getPos();
|
||||
Vector3 getRot();
|
||||
Vector3 getAcc();
|
||||
void setPos(const Vector3 Npos);
|
||||
void setRot(const Vector3 Nrot);
|
||||
void setVel(const Vector3 Nacc);
|
||||
|
||||
@@ -133,3 +133,7 @@ void rigidbody::calcRot(const float Dtime){
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
rb::Vector3 rigidbody::getAcc(){
|
||||
return Vector3(acc);
|
||||
}
|
||||
Reference in New Issue
Block a user