BikePlayer - WheelCollider.prefab 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432
  1. %YAML 1.1
  2. %TAG !u! tag:unity3d.com,2011:
  3. --- !u!114 &7512265663621178513
  4. MonoBehaviour:
  5. m_ObjectHideFlags: 0
  6. m_CorrespondingSourceObject: {fileID: 0}
  7. m_PrefabInstance: {fileID: 0}
  8. m_PrefabAsset: {fileID: 0}
  9. m_GameObject: {fileID: 801321025930522509}
  10. m_Enabled: 1
  11. m_EditorHideFlags: 0
  12. m_Script: {fileID: 11500000, guid: a27bbfe203006ee44b3dece1ad698c4d, type: 3}
  13. m_Name:
  14. m_EditorClassIdentifier:
  15. rearWheel: {fileID: 801321025748002530}
  16. frontWheel: {fileID: 801321025902230701}
  17. centerOfMass: {fileID: 801321026778780902}
  18. rigidBody: {fileID: 801321026876488255}
  19. wheelConfig:
  20. frontLeft: {fileID: 8188783719001394119}
  21. frontRight: {fileID: 834510411877024686}
  22. rearLeft: {fileID: 7021878323384492593}
  23. rearRight: {fileID: 2969410334796512581}
  24. offsetCollidersFromWheel: 0.5
  25. maxLeaningAngle: 20
  26. maxSteeringAngle: 15
  27. maxSpeed: 11.111
  28. maxBreakTorque: 2000
  29. maxMotorTorque: 1000
  30. --- !u!114 &957853408766357258
  31. MonoBehaviour:
  32. m_ObjectHideFlags: 0
  33. m_CorrespondingSourceObject: {fileID: 0}
  34. m_PrefabInstance: {fileID: 0}
  35. m_PrefabAsset: {fileID: 0}
  36. m_GameObject: {fileID: 801321025566661911}
  37. m_Enabled: 1
  38. m_EditorHideFlags: 0
  39. m_Script: {fileID: 11500000, guid: 08d84f83c699406a89782ab48646272c, type: 3}
  40. m_Name:
  41. m_EditorClassIdentifier:
  42. bicycleController: {fileID: 7512265663621178513}
  43. --- !u!1 &1465574767010789097
  44. GameObject:
  45. m_ObjectHideFlags: 0
  46. m_CorrespondingSourceObject: {fileID: 0}
  47. m_PrefabInstance: {fileID: 0}
  48. m_PrefabAsset: {fileID: 0}
  49. serializedVersion: 6
  50. m_Component:
  51. - component: {fileID: 3374798822138137626}
  52. - component: {fileID: 7021878323384492593}
  53. m_Layer: 9
  54. m_Name: RearLeft
  55. m_TagString: Untagged
  56. m_Icon: {fileID: 0}
  57. m_NavMeshLayer: 0
  58. m_StaticEditorFlags: 0
  59. m_IsActive: 1
  60. --- !u!4 &3374798822138137626
  61. Transform:
  62. m_ObjectHideFlags: 0
  63. m_CorrespondingSourceObject: {fileID: 0}
  64. m_PrefabInstance: {fileID: 0}
  65. m_PrefabAsset: {fileID: 0}
  66. m_GameObject: {fileID: 1465574767010789097}
  67. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  68. m_LocalPosition: {x: -0.2, y: -0.394, z: -0.982}
  69. m_LocalScale: {x: 1, y: 1, z: 1}
  70. m_Children: []
  71. m_Father: {fileID: 1296554712610267607}
  72. m_RootOrder: 0
  73. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  74. --- !u!146 &7021878323384492593
  75. WheelCollider:
  76. m_ObjectHideFlags: 0
  77. m_CorrespondingSourceObject: {fileID: 0}
  78. m_PrefabInstance: {fileID: 0}
  79. m_PrefabAsset: {fileID: 0}
  80. m_GameObject: {fileID: 1465574767010789097}
  81. m_Center: {x: 0, y: 0, z: 0}
  82. m_Radius: 0.65
  83. m_SuspensionSpring:
  84. spring: 0
  85. damper: 0
  86. targetPosition: 0.5
  87. m_SuspensionDistance: 0
  88. m_ForceAppPointDistance: 0
  89. m_Mass: 0.4
  90. m_WheelDampingRate: 0.1
  91. m_ForwardFriction:
  92. m_ExtremumSlip: 0.4
  93. m_ExtremumValue: 1
  94. m_AsymptoteSlip: 0.8
  95. m_AsymptoteValue: 0.5
  96. m_Stiffness: 1
  97. m_SidewaysFriction:
  98. m_ExtremumSlip: 0.2
  99. m_ExtremumValue: 1
  100. m_AsymptoteSlip: 0.5
  101. m_AsymptoteValue: 0.75
  102. m_Stiffness: 1
  103. m_Enabled: 1
  104. --- !u!1 &1846639337413859412
  105. GameObject:
  106. m_ObjectHideFlags: 0
  107. m_CorrespondingSourceObject: {fileID: 0}
  108. m_PrefabInstance: {fileID: 0}
  109. m_PrefabAsset: {fileID: 0}
  110. serializedVersion: 6
  111. m_Component:
  112. - component: {fileID: 6864293721890808824}
  113. - component: {fileID: 834510411877024686}
  114. m_Layer: 9
  115. m_Name: FrontRight
  116. m_TagString: Untagged
  117. m_Icon: {fileID: 0}
  118. m_NavMeshLayer: 0
  119. m_StaticEditorFlags: 0
  120. m_IsActive: 1
  121. --- !u!4 &6864293721890808824
  122. Transform:
  123. m_ObjectHideFlags: 0
  124. m_CorrespondingSourceObject: {fileID: 0}
  125. m_PrefabInstance: {fileID: 0}
  126. m_PrefabAsset: {fileID: 0}
  127. m_GameObject: {fileID: 1846639337413859412}
  128. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  129. m_LocalPosition: {x: 0.2, y: -0.39400002, z: 0.986}
  130. m_LocalScale: {x: 1, y: 1, z: 1}
  131. m_Children: []
  132. m_Father: {fileID: 1296554712610267607}
  133. m_RootOrder: 3
  134. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  135. --- !u!146 &834510411877024686
  136. WheelCollider:
  137. m_ObjectHideFlags: 0
  138. m_CorrespondingSourceObject: {fileID: 0}
  139. m_PrefabInstance: {fileID: 0}
  140. m_PrefabAsset: {fileID: 0}
  141. m_GameObject: {fileID: 1846639337413859412}
  142. m_Center: {x: 0, y: 0, z: 0}
  143. m_Radius: 0.65
  144. m_SuspensionSpring:
  145. spring: 0
  146. damper: 0
  147. targetPosition: 0.5
  148. m_SuspensionDistance: 0
  149. m_ForceAppPointDistance: 0
  150. m_Mass: 0.4
  151. m_WheelDampingRate: 0.1
  152. m_ForwardFriction:
  153. m_ExtremumSlip: 0.4
  154. m_ExtremumValue: 1
  155. m_AsymptoteSlip: 0.8
  156. m_AsymptoteValue: 0.5
  157. m_Stiffness: 1
  158. m_SidewaysFriction:
  159. m_ExtremumSlip: 0.2
  160. m_ExtremumValue: 1
  161. m_AsymptoteSlip: 0.5
  162. m_AsymptoteValue: 0.75
  163. m_Stiffness: 1
  164. m_Enabled: 1
  165. --- !u!1 &2487871355023353472
  166. GameObject:
  167. m_ObjectHideFlags: 0
  168. m_CorrespondingSourceObject: {fileID: 0}
  169. m_PrefabInstance: {fileID: 0}
  170. m_PrefabAsset: {fileID: 0}
  171. serializedVersion: 6
  172. m_Component:
  173. - component: {fileID: 1296554712610267607}
  174. m_Layer: 9
  175. m_Name: Colliders
  176. m_TagString: Untagged
  177. m_Icon: {fileID: 0}
  178. m_NavMeshLayer: 0
  179. m_StaticEditorFlags: 0
  180. m_IsActive: 1
  181. --- !u!4 &1296554712610267607
  182. Transform:
  183. m_ObjectHideFlags: 0
  184. m_CorrespondingSourceObject: {fileID: 0}
  185. m_PrefabInstance: {fileID: 0}
  186. m_PrefabAsset: {fileID: 0}
  187. m_GameObject: {fileID: 2487871355023353472}
  188. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  189. m_LocalPosition: {x: 0, y: 0, z: 0}
  190. m_LocalScale: {x: 1, y: 1, z: 1}
  191. m_Children:
  192. - {fileID: 3374798822138137626}
  193. - {fileID: 6534913685170955953}
  194. - {fileID: 7606312893890610443}
  195. - {fileID: 6864293721890808824}
  196. m_Father: {fileID: 801321026876488252}
  197. m_RootOrder: 6
  198. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  199. --- !u!1 &3232670606842586248
  200. GameObject:
  201. m_ObjectHideFlags: 0
  202. m_CorrespondingSourceObject: {fileID: 0}
  203. m_PrefabInstance: {fileID: 0}
  204. m_PrefabAsset: {fileID: 0}
  205. serializedVersion: 6
  206. m_Component:
  207. - component: {fileID: 6534913685170955953}
  208. - component: {fileID: 2969410334796512581}
  209. m_Layer: 9
  210. m_Name: RearRight
  211. m_TagString: Untagged
  212. m_Icon: {fileID: 0}
  213. m_NavMeshLayer: 0
  214. m_StaticEditorFlags: 0
  215. m_IsActive: 1
  216. --- !u!4 &6534913685170955953
  217. Transform:
  218. m_ObjectHideFlags: 0
  219. m_CorrespondingSourceObject: {fileID: 0}
  220. m_PrefabInstance: {fileID: 0}
  221. m_PrefabAsset: {fileID: 0}
  222. m_GameObject: {fileID: 3232670606842586248}
  223. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  224. m_LocalPosition: {x: 0.2, y: -0.394, z: -0.982}
  225. m_LocalScale: {x: 1, y: 1, z: 1}
  226. m_Children: []
  227. m_Father: {fileID: 1296554712610267607}
  228. m_RootOrder: 1
  229. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  230. --- !u!146 &2969410334796512581
  231. WheelCollider:
  232. m_ObjectHideFlags: 0
  233. m_CorrespondingSourceObject: {fileID: 0}
  234. m_PrefabInstance: {fileID: 0}
  235. m_PrefabAsset: {fileID: 0}
  236. m_GameObject: {fileID: 3232670606842586248}
  237. m_Center: {x: 0, y: 0, z: 0}
  238. m_Radius: 0.65
  239. m_SuspensionSpring:
  240. spring: 0
  241. damper: 0
  242. targetPosition: 0.5
  243. m_SuspensionDistance: 0
  244. m_ForceAppPointDistance: 0
  245. m_Mass: 0.4
  246. m_WheelDampingRate: 0.1
  247. m_ForwardFriction:
  248. m_ExtremumSlip: 0.4
  249. m_ExtremumValue: 1
  250. m_AsymptoteSlip: 0.8
  251. m_AsymptoteValue: 0.5
  252. m_Stiffness: 1
  253. m_SidewaysFriction:
  254. m_ExtremumSlip: 0.2
  255. m_ExtremumValue: 1
  256. m_AsymptoteSlip: 0.5
  257. m_AsymptoteValue: 0.75
  258. m_Stiffness: 1
  259. m_Enabled: 1
  260. --- !u!1 &5546454577013593120
  261. GameObject:
  262. m_ObjectHideFlags: 0
  263. m_CorrespondingSourceObject: {fileID: 0}
  264. m_PrefabInstance: {fileID: 0}
  265. m_PrefabAsset: {fileID: 0}
  266. serializedVersion: 6
  267. m_Component:
  268. - component: {fileID: 7606312893890610443}
  269. - component: {fileID: 8188783719001394119}
  270. m_Layer: 9
  271. m_Name: FrontLeft
  272. m_TagString: Untagged
  273. m_Icon: {fileID: 0}
  274. m_NavMeshLayer: 0
  275. m_StaticEditorFlags: 0
  276. m_IsActive: 1
  277. --- !u!4 &7606312893890610443
  278. Transform:
  279. m_ObjectHideFlags: 0
  280. m_CorrespondingSourceObject: {fileID: 0}
  281. m_PrefabInstance: {fileID: 0}
  282. m_PrefabAsset: {fileID: 0}
  283. m_GameObject: {fileID: 5546454577013593120}
  284. m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
  285. m_LocalPosition: {x: -0.2, y: -0.39400002, z: 0.986}
  286. m_LocalScale: {x: 1, y: 1, z: 1}
  287. m_Children: []
  288. m_Father: {fileID: 1296554712610267607}
  289. m_RootOrder: 2
  290. m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
  291. --- !u!146 &8188783719001394119
  292. WheelCollider:
  293. m_ObjectHideFlags: 0
  294. m_CorrespondingSourceObject: {fileID: 0}
  295. m_PrefabInstance: {fileID: 0}
  296. m_PrefabAsset: {fileID: 0}
  297. m_GameObject: {fileID: 5546454577013593120}
  298. m_Center: {x: 0, y: 0, z: 0}
  299. m_Radius: 0.65
  300. m_SuspensionSpring:
  301. spring: 0
  302. damper: 0
  303. targetPosition: 0.5
  304. m_SuspensionDistance: 0
  305. m_ForceAppPointDistance: 0
  306. m_Mass: 0.4
  307. m_WheelDampingRate: 0.1
  308. m_ForwardFriction:
  309. m_ExtremumSlip: 0.4
  310. m_ExtremumValue: 1
  311. m_AsymptoteSlip: 0.8
  312. m_AsymptoteValue: 0.5
  313. m_Stiffness: 1
  314. m_SidewaysFriction:
  315. m_ExtremumSlip: 0.2
  316. m_ExtremumValue: 1
  317. m_AsymptoteSlip: 0.5
  318. m_AsymptoteValue: 0.75
  319. m_Stiffness: 1
  320. m_Enabled: 1
  321. --- !u!1001 &148186655818931342
  322. PrefabInstance:
  323. m_ObjectHideFlags: 0
  324. serializedVersion: 2
  325. m_Modification:
  326. m_TransformParent: {fileID: 0}
  327. m_Modifications:
  328. - target: {fileID: 653210788318262019, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  329. type: 3}
  330. propertyPath: m_Name
  331. value: BikePlayer - WheelCollider
  332. objectReference: {fileID: 0}
  333. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  334. type: 3}
  335. propertyPath: m_LocalPosition.x
  336. value: 3.2
  337. objectReference: {fileID: 0}
  338. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  339. type: 3}
  340. propertyPath: m_LocalPosition.y
  341. value: 0
  342. objectReference: {fileID: 0}
  343. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  344. type: 3}
  345. propertyPath: m_LocalPosition.z
  346. value: 0
  347. objectReference: {fileID: 0}
  348. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  349. type: 3}
  350. propertyPath: m_LocalRotation.x
  351. value: 0
  352. objectReference: {fileID: 0}
  353. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  354. type: 3}
  355. propertyPath: m_LocalRotation.y
  356. value: 0.7071068
  357. objectReference: {fileID: 0}
  358. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  359. type: 3}
  360. propertyPath: m_LocalRotation.z
  361. value: 0
  362. objectReference: {fileID: 0}
  363. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  364. type: 3}
  365. propertyPath: m_LocalRotation.w
  366. value: 0.7071068
  367. objectReference: {fileID: 0}
  368. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  369. type: 3}
  370. propertyPath: m_RootOrder
  371. value: 0
  372. objectReference: {fileID: 0}
  373. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  374. type: 3}
  375. propertyPath: m_LocalEulerAnglesHint.x
  376. value: 0
  377. objectReference: {fileID: 0}
  378. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  379. type: 3}
  380. propertyPath: m_LocalEulerAnglesHint.y
  381. value: 90
  382. objectReference: {fileID: 0}
  383. - target: {fileID: 653210788318262020, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  384. type: 3}
  385. propertyPath: m_LocalEulerAnglesHint.z
  386. value: 0
  387. objectReference: {fileID: 0}
  388. m_RemovedComponents:
  389. - {fileID: 9132626276124788811, guid: a065ef1d4c56ffa49bb0b821da25d91b, type: 3}
  390. m_SourcePrefab: {fileID: 100100000, guid: a065ef1d4c56ffa49bb0b821da25d91b, type: 3}
  391. --- !u!1 &801321025930522509 stripped
  392. GameObject:
  393. m_CorrespondingSourceObject: {fileID: 653210788318262019, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  394. type: 3}
  395. m_PrefabInstance: {fileID: 148186655818931342}
  396. m_PrefabAsset: {fileID: 0}
  397. --- !u!1 &801321025566661911 stripped
  398. GameObject:
  399. m_CorrespondingSourceObject: {fileID: 653210788491264409, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  400. type: 3}
  401. m_PrefabInstance: {fileID: 148186655818931342}
  402. m_PrefabAsset: {fileID: 0}
  403. --- !u!4 &801321026876488252 stripped
  404. Transform:
  405. m_CorrespondingSourceObject: {fileID: 653210787133548210, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  406. type: 3}
  407. m_PrefabInstance: {fileID: 148186655818931342}
  408. m_PrefabAsset: {fileID: 0}
  409. --- !u!54 &801321026876488255 stripped
  410. Rigidbody:
  411. m_CorrespondingSourceObject: {fileID: 653210787133548209, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  412. type: 3}
  413. m_PrefabInstance: {fileID: 148186655818931342}
  414. m_PrefabAsset: {fileID: 0}
  415. --- !u!4 &801321026778780902 stripped
  416. Transform:
  417. m_CorrespondingSourceObject: {fileID: 653210787170027624, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  418. type: 3}
  419. m_PrefabInstance: {fileID: 148186655818931342}
  420. m_PrefabAsset: {fileID: 0}
  421. --- !u!1 &801321025748002530 stripped
  422. GameObject:
  423. m_CorrespondingSourceObject: {fileID: 653210788269963884, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  424. type: 3}
  425. m_PrefabInstance: {fileID: 148186655818931342}
  426. m_PrefabAsset: {fileID: 0}
  427. --- !u!1 &801321025902230701 stripped
  428. GameObject:
  429. m_CorrespondingSourceObject: {fileID: 653210788424474659, guid: a065ef1d4c56ffa49bb0b821da25d91b,
  430. type: 3}
  431. m_PrefabInstance: {fileID: 148186655818931342}
  432. m_PrefabAsset: {fileID: 0}