Fix 3rd camera rotations

This commit is contained in:
r.nikolin 2023-11-07 11:16:31 +03:00
parent 06075d9748
commit 7fddc312d7
11 changed files with 76 additions and 12 deletions

View File

@ -4,13 +4,12 @@ using UnityEngine;
public class ObjectRotate : MonoBehaviour
{
[SerializeField]
private Vector3 _vector;
[SerializeField] private Vector3 _vector;
[SerializeField] private float _speed = 10;
private void Update()
{
transform.Rotate(_vector);
transform.Rotate(_vector * _speed * Time.deltaTime);
}
}

View File

@ -132,10 +132,15 @@ PrefabInstance:
propertyPath: m_LocalRotation.y
value: -0.6073759
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: 0.04
value: 0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}

View File

@ -166,10 +166,15 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: -0.05
value: -0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}

View File

@ -166,10 +166,15 @@ PrefabInstance:
propertyPath: m_LocalRotation.z
value: -0.060016606
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: 0.03
value: 0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}

View File

@ -67,10 +67,15 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: 0.05
value: 0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}

View File

@ -172,6 +172,16 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 40
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: 0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: lengthInSec

View File

@ -341,10 +341,15 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: -0.05
value: 0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
@ -442,6 +447,11 @@ PrefabInstance:
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 4421202291124940304, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: m_RootOrder
value: 6
objectReference: {fileID: 0}
- target: {fileID: 4421202291124940304, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: m_LocalPosition.x

View File

@ -261,6 +261,11 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
@ -377,6 +382,11 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: -96
objectReference: {fileID: 0}
- target: {fileID: 4646941646174813383, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: m_AllowDynamicResolution
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5292507482521882122, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: m_LocalPosition.x

View File

@ -52,10 +52,15 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: 0.08
value: 0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}

View File

@ -62,10 +62,15 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: -0.12
value: -0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}

View File

@ -162,10 +162,15 @@ PrefabInstance:
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _speed
value: 150
objectReference: {fileID: 0}
- target: {fileID: 2466485092146797878, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}
propertyPath: _vector.y
value: 0.05
value: 0.01
objectReference: {fileID: 0}
- target: {fileID: 2559237996015783021, guid: f7c18ea67fe64514a8e28b62367e16f7,
type: 3}