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:
parent
beed11d945
commit
94fc3e7377
|
@ -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_rotation: Quat::default(),
|
||||||
final_aimed_position: Vec3 {
|
final_aimed_position: Vec3 {
|
||||||
// x: -0.003,
|
// x: -0.003,
|
||||||
|
@ -55,11 +55,11 @@ impl Firearm {
|
||||||
y: -0.35,
|
y: -0.35,
|
||||||
z: -1.6,
|
z: -1.6,
|
||||||
},
|
},
|
||||||
final_position: Vec3 {
|
final_position: Vec3::ZERO, /*Vec3 {
|
||||||
x: 0.6,
|
x: 0.6,
|
||||||
y: -0.45,
|
y: -0.45,
|
||||||
z: -2.7,
|
z: -2.7,
|
||||||
},
|
},*/
|
||||||
scale_factor: 1.0,
|
scale_factor: 1.0,
|
||||||
asset_path: String::from("weapons/m4a1_rifle.glb"),
|
asset_path: String::from("weapons/m4a1_rifle.glb"),
|
||||||
firearm_type: FirearmType::Primary,
|
firearm_type: FirearmType::Primary,
|
||||||
|
|
Loading…
Reference in New Issue