improve camera

This commit is contained in:
2025-03-11 22:25:30 +01:00
parent 9fb84c3e00
commit 20e68ab39e

View File

@@ -8,11 +8,11 @@ impl GameCameraRig {
.with(Position::new(Vec3::ZERO)) .with(Position::new(Vec3::ZERO))
.with(Rotation::new(Quat::IDENTITY)) .with(Rotation::new(Quat::IDENTITY))
.with(Smooth::new_position(1.25).predictive(true)) .with(Smooth::new_position(1.25).predictive(true))
.with(Smooth::new_rotation(10.)) .with(Smooth::new_rotation(0.5))
.with(Arm::new(arm)) .with(Arm::new(arm))
.with( .with(
LookAt::new(Vec3::ZERO + Vec3::Y) LookAt::new(Vec3::ZERO + Vec3::Y)
.tracking_smoothness(1.25) .tracking_smoothness(0.2)
.tracking_predictive(true), .tracking_predictive(true),
) )
.build(), .build(),