updated walk and controller input to joystick

This commit is contained in:
2022-12-04 23:11:05 +01:00
parent 40e71c5ce4
commit be04329d65
25 changed files with 677 additions and 941 deletions
+75 -77
View File
@@ -10529,7 +10529,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &73925799
Transform:
m_ObjectHideFlags: 0
@@ -10541,7 +10541,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &73925800
MonoBehaviour:
@@ -10549,7 +10549,7 @@ MonoBehaviour:
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 73925798}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 7fa025fa8dcb3a249b67fc0e2fe67b44, type: 3}
m_Name:
@@ -10563,6 +10563,7 @@ MonoBehaviour:
b2: 0
b3: 0
enabled: 0
enabled_send: 0
--- !u!1 &74230589
GameObject:
m_ObjectHideFlags: 0
@@ -14153,7 +14154,7 @@ Transform:
- {fileID: 379804153}
- {fileID: 1946365704}
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &95074500
GameObject:
@@ -34470,14 +34471,14 @@ MonoBehaviour:
a3: 0
point: {x: 5, y: -15, z: -13}
rotation: {x: 0, y: 0, z: 0, w: 0}
transformation: {x: 0, y: 0, z: 0}
transformation2: {x: 0, y: 0, z: 0}
invert: 1
transformationBeforeRotation: {x: 0, y: 0, z: 0}
transformationAfterRotation: {x: 0, y: 0, z: 0}
invertForLeftLeg: 1
translateX: 5
translateY: 0
translateZ: -5
pointShouldBe: {fileID: 32992308}
startServo: 22
startServo: 9
--- !u!1 &211071650
GameObject:
m_ObjectHideFlags: 0
@@ -48754,8 +48755,6 @@ GameObject:
m_Component:
- component: {fileID: 311513961}
- component: {fileID: 311513962}
- component: {fileID: 311513963}
- component: {fileID: 311513964}
- component: {fileID: 311513965}
m_Layer: 0
m_Name: RotationControl
@@ -48771,7 +48770,7 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 311513960}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 27.58, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
@@ -48800,49 +48799,6 @@ MonoBehaviour:
- {fileID: 210611261}
body: {fileID: 2129559090}
body2: {fileID: 1971572977}
--- !u!114 &311513963
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 311513960}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 62866dc69f17c5f40a7ec527e34e82f1, type: 3}
m_Name:
m_EditorClassIdentifier:
legs:
- {fileID: 636309705}
- {fileID: 596626244}
- {fileID: 1619174560}
- {fileID: 1453644144}
- {fileID: 1772413224}
- {fileID: 210611261}
st: 5
speed2: 1
rotation: 0
walkspeed: 1.5
--- !u!114 &311513964
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 311513960}
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 91e6f3895f276d94da1803128e6290e0, type: 3}
m_Name:
m_EditorClassIdentifier:
legs:
- {fileID: 636309705}
- {fileID: 596626244}
- {fileID: 1619174560}
- {fileID: 1453644144}
- {fileID: 1772413224}
- {fileID: 210611261}
st: 5
speed2: 1
rotation: 5
--- !u!114 &311513965
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -48865,7 +48821,7 @@ MonoBehaviour:
speed2: 10
walkDirection: 0
centerRotation: 0
walkspeed: 3
walkspeed: 0
--- !u!1 &311874317
GameObject:
m_ObjectHideFlags: 0
@@ -92991,9 +92947,9 @@ MonoBehaviour:
a3: 0
point: {x: 0, y: -15, z: 13}
rotation: {x: 0, y: 0, z: 0, w: 0}
transformation: {x: 0, y: 0, z: 0}
transformation2: {x: 0, y: 0, z: 0}
invert: 0
transformationBeforeRotation: {x: 0, y: 0, z: 0}
transformationAfterRotation: {x: 0, y: 0, z: 0}
invertForLeftLeg: 0
translateX: 0
translateY: 0
translateZ: 6.5
@@ -99514,14 +99470,14 @@ MonoBehaviour:
a3: 0
point: {x: -5, y: -15, z: 13}
rotation: {x: 0, y: 0, z: 0, w: 0}
transformation: {x: 0, y: 0, z: 0}
transformation2: {x: 0, y: 0, z: 0}
invert: 0
transformationBeforeRotation: {x: 0, y: 0, z: 0}
transformationAfterRotation: {x: 0, y: 0, z: 0}
invertForLeftLeg: 0
translateX: -5
translateY: 0
translateZ: 5
pointShouldBe: {fileID: 2018746516}
startServo: 0
startServo: 6
--- !u!1 &636734778
GameObject:
m_ObjectHideFlags: 0
@@ -228420,7 +228376,7 @@ Transform:
m_LocalScale: {x: 100, y: 1, z: 100}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1414444048
GameObject:
@@ -234926,14 +234882,14 @@ MonoBehaviour:
a3: 0
point: {x: -5, y: -15, z: -13}
rotation: {x: 0, y: 0, z: 0, w: 0}
transformation: {x: 0, y: 0, z: 0}
transformation2: {x: 0, y: 0, z: 0}
invert: 1
transformationBeforeRotation: {x: 0, y: 0, z: 0}
transformationAfterRotation: {x: 0, y: 0, z: 0}
invertForLeftLeg: 1
translateX: -5
translateY: 0
translateZ: -5
pointShouldBe: {fileID: 591879371}
startServo: 16
startServo: 15
--- !u!1 &1454125721
GameObject:
m_ObjectHideFlags: 0
@@ -259448,14 +259404,14 @@ MonoBehaviour:
a3: 0
point: {x: 5, y: -15, z: 13}
rotation: {x: 0, y: 0, z: 0, w: 0}
transformation: {x: 0, y: 0, z: 0}
transformation2: {x: 0, y: 0, z: 0}
invert: 0
transformationBeforeRotation: {x: 0, y: 0, z: 0}
transformationAfterRotation: {x: 0, y: 0, z: 0}
invertForLeftLeg: 0
translateX: 5
translateY: 0
translateZ: 5
pointShouldBe: {fileID: 1943602706}
startServo: 6
startServo: 0
--- !u!1 &1619291355
GameObject:
m_ObjectHideFlags: 0
@@ -265153,6 +265109,48 @@ Transform:
m_Father: {fileID: 1921902568}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1645933597
GameObject:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
serializedVersion: 5
m_Component:
- component: {fileID: 1645933599}
- component: {fileID: 1645933598}
m_Layer: 0
m_Name: Input
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1645933598
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1645933597}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c5ce8a2605d301e44a4a210aa345ed62, type: 3}
m_Name:
m_EditorClassIdentifier:
bot: {fileID: 311513962}
walk: {fileID: 311513965}
--- !u!4 &1645933599
Transform:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1645933597}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -36.648933, y: -31.721676, z: -22.529099}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1646259228
GameObject:
m_ObjectHideFlags: 0
@@ -284148,14 +284146,14 @@ MonoBehaviour:
a3: 0
point: {x: 0, y: -15, z: -13}
rotation: {x: 0, y: 0, z: 0, w: 0}
transformation: {x: 0, y: 0, z: 0}
transformation2: {x: 0, y: 0, z: 0}
invert: 1
transformationBeforeRotation: {x: 0, y: 0, z: 0}
transformationAfterRotation: {x: 0, y: 0, z: 0}
invertForLeftLeg: 1
translateX: 0
translateY: 0
translateZ: -6.5
pointShouldBe: {fileID: 955360344}
startServo: 19
startServo: 12
--- !u!1 &1772635191
GameObject:
m_ObjectHideFlags: 0
@@ -299532,7 +299530,7 @@ Transform:
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1867357888}
m_LocalRotation: {x: 0.40821788, y: -0.23456968, z: 0.10938163, w: 0.8754261}
m_LocalPosition: {x: 0, y: 3, z: 0}
m_LocalPosition: {x: 45.12, y: 56.06, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
@@ -339239,7 +339237,7 @@ Transform:
- {fileID: 1640079164}
- {fileID: 1971572978}
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &2130020849
GameObject: