Скрипт перемещения машин

This commit is contained in:
LikhenkoVG
2024-12-17 21:46:56 +03:00
parent 8358a1dcd6
commit 937a6340ec
18 changed files with 2833 additions and 48 deletions

View File

@ -304,6 +304,7 @@ GameObject:
m_Component:
- component: {fileID: 8318541633553261252}
- component: {fileID: 8143113865797501736}
- component: {fileID: -4696810794472180721}
m_Layer: 0
m_Name: car2_nd
m_TagString: Car
@ -346,7 +347,34 @@ MonoBehaviour:
- {fileID: 101579297307332236}
- {fileID: 8987756254260406886}
- {fileID: 2303961919079315352}
_Speed: 50
_Speed: 30
--- !u!54 &-4696810794472180721
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1384266274661454841}
serializedVersion: 4
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_CenterOfMass: {x: 0, y: 0, z: 0}
m_InertiaTensor: {x: 1, y: 1, z: 1}
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_ImplicitCom: 1
m_ImplicitTensor: 1
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!1 &2303961919079315352
GameObject:
m_ObjectHideFlags: 0