fixed camera rotation bug

As player ran in a straight line, camera lag causes camera to rotate slightly. Fixed this bug by changing Cinemachine Freelook 'orbit binding mode' to 'lock to target on assign' mode. Player runs in straight line now!
This commit is contained in:
sebastianhampel1 2023-04-08 01:32:28 -04:00
parent 1ba73e3f13
commit d4e49ea8e5

View File

@ -226,7 +226,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 365318976786001977}
m_LocalRotation: {x: 0.050803177, y: 0.24604334, z: -0.062553294, w: 0.9659031}
m_LocalRotation: {x: 0.0718026, y: -0.0602704, z: 0.016577827, w: 0.99545825}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -474,7 +474,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 365318977167042193}
m_LocalRotation: {x: 0.09804932, y: 0.000000017650475, z: -0.0000000017389965, w: 0.99518156}
m_LocalPosition: {x: -1.6996615, y: 1.32, z: -2.4720743}
m_LocalPosition: {x: 0, y: 1.32, z: -3}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@ -612,7 +612,7 @@ MonoBehaviour:
m_RecenteringTime: 2
m_LegacyHeadingDefinition: -1
m_LegacyVelocityFilterStrength: -1
m_BindingMode: 5
m_BindingMode: 0
m_SplineCurvature: 0.2
m_Orbits:
- m_Height: 4.5
@ -777,7 +777,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 365318977785173328}
m_LocalRotation: {x: 0.03322547, y: 0.2471404, z: -0.05806753, w: 0.9666674}
m_LocalRotation: {x: 0.05368384, y: -0.06056196, z: 0.0154787935, w: 0.9965996}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -989,7 +989,7 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 365318978058098897}
m_LocalRotation: {x: 0.015683249, y: 0.24815318, z: -0.053574488, w: 0.96711105}
m_LocalRotation: {x: 0.03559524, y: -0.060832832, z: 0.014377572, w: 0.9974095}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -1078,8 +1078,8 @@ Transform:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 365318978543542559}
m_LocalRotation: {x: 0.14482042, y: 0.14063732, z: -0.020799974, w: 0.97919124}
m_LocalPosition: {x: -1.0329641, y: 1.3199979, z: -2.4649105}
m_LocalRotation: {x: 0.15114106, y: -0.061787784, z: 0.009466145, w: 0.9865339}
m_LocalPosition: {x: -0.000023298204, y: 1.3199862, z: -2.4649107}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []