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 @@
Torso::Torso(rb::Vector3 coords, _Float16 mass){
rb::Vector3 com = {torso_Dim.x/2, torso_Dim.y/2, torso_Dim.z/2};
body = rb::rigidbody(coords,com, mass);
body = rb::rigidbody(coords,com, mass, torso_Dim.y/2);
color = torso_Col;
globalPos = {0,0,0};