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

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

@ -10,6 +10,7 @@ GameObject:
m_Component:
- component: {fileID: 5620619933138134755}
- component: {fileID: 7137886717261488707}
- component: {fileID: -8068825007255820686}
m_Layer: 0
m_Name: Sportcar
m_TagString: Car
@ -52,7 +53,34 @@ MonoBehaviour:
- {fileID: 1858579167176862093}
- {fileID: 5741104486214150697}
- {fileID: 7355289531339988197}
_Speed: 50
_Speed: 30
--- !u!54 &-8068825007255820686
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 947238218112846181}
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 &1094716452775252614
GameObject:
m_ObjectHideFlags: 0