Aggiunta calcolo rotazione da accTan in rb

This commit is contained in:
2026-06-20 20:21:29 +02:00
parent ef2e09ef0f
commit a1441cc28e
7 changed files with 41 additions and 12 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
Coscia::Coscia(rb::Vector3 coords, _Float16 mass){
rb::Vector3 com = {coscia_Dim.x/2,coscia_Dim.z/2,coscia_Dim.y/2};
body = rb::rigidbody(coords, com, mass);
body = rb::rigidbody(coords, com, mass, coscia_Dim.z/2);
color = coscia_Col;
globalPos = {0,0,0};
initialize_shapes(coscia_Dim);