Modifica per aggiornare la rotazione (non Funziona)

This commit is contained in:
2026-06-20 20:39:48 +02:00
parent a1441cc28e
commit 7fee7b1e13
4 changed files with 12 additions and 2 deletions
+2 -1
View File
@@ -128,7 +128,8 @@ void rigidbody::calcRot(const float Dtime){
i=0;
for (auto axes : rot){
axes += 0.5 * tmpTanAcc[i] * pow(Dtime,2);
rot[i] = axes + (0.5 * tmpTanAcc[i] * pow(Dtime,2));
i++;
}
}