improve camera
This commit is contained in:
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user