At this point, movement system works well, everything else as well except for gun placement. The mechanics work perfectly, but with the new models and hand systems, everything is out of scale, position, rotation. time to work on blender.

This commit is contained in:
Franklin 2023-11-17 11:27:08 -04:00
parent beed11d945
commit 94fc3e7377
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ impl Firearm {
]),
},
final_aimed_rotation: Quat::from_rotation_x(0.026),
final_aimed_rotation: Quat::default(),//Quat::from_rotation_x(0.026),
final_rotation: Quat::default(),
final_aimed_position: Vec3 {
// x: -0.003,
@ -55,11 +55,11 @@ impl Firearm {
y: -0.35,
z: -1.6,
},
final_position: Vec3 {
final_position: Vec3::ZERO, /*Vec3 {
x: 0.6,
y: -0.45,
z: -2.7,
},
},*/
scale_factor: 1.0,
asset_path: String::from("weapons/m4a1_rifle.glb"),
firearm_type: FirearmType::Primary,