deltavr multiplayer 2.0
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,4 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2314ce3a3eecf4816bad3c9eca4de2e1
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -1,358 +0,0 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!1 &100000
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 4: {fileID: 400000}
|
||||
- 33: {fileID: 3300000}
|
||||
- 23: {fileID: 2300000}
|
||||
m_Layer: 0
|
||||
m_Name: Graphics
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1002 &100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!1 &100002
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 4: {fileID: 400002}
|
||||
- 143: {fileID: 14300000}
|
||||
- 114: {fileID: 11400000}
|
||||
- 114: {fileID: 11400002}
|
||||
- 114: {fileID: 11400004}
|
||||
m_Layer: 0
|
||||
m_Name: First Person Controller
|
||||
m_TagString: Untagged
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1002 &100003
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!1 &100004
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
serializedVersion: 4
|
||||
m_Component:
|
||||
- 4: {fileID: 400004}
|
||||
- 20: {fileID: 2000000}
|
||||
- 92: {fileID: 9200000}
|
||||
- 124: {fileID: 12400000}
|
||||
- 114: {fileID: 11400006}
|
||||
- 81: {fileID: 8100000}
|
||||
m_Layer: 0
|
||||
m_Name: Main Camera
|
||||
m_TagString: MainCamera
|
||||
m_Icon: {fileID: 0}
|
||||
m_NavMeshLayer: 0
|
||||
m_StaticEditorFlags: 0
|
||||
m_IsActive: 1
|
||||
--- !u!1002 &100005
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!4 &400000
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100000}
|
||||
m_LocalRotation: {x: -0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: .400000006, y: .5, z: .400000006}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 400002}
|
||||
m_RootOrder: 0
|
||||
--- !u!1002 &400001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!4 &400002
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: -30.7649231, y: 3.25786257, z: -74.3138885}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children:
|
||||
- {fileID: 400000}
|
||||
- {fileID: 400004}
|
||||
m_Father: {fileID: 0}
|
||||
m_RootOrder: 0
|
||||
--- !u!1002 &400003
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!4 &400004
|
||||
Transform:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: .907083511, z: 0}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_Children: []
|
||||
m_Father: {fileID: 400002}
|
||||
m_RootOrder: 1
|
||||
--- !u!1002 &400005
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!20 &2000000
|
||||
Camera:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_ClearFlags: 1
|
||||
m_BackGroundColor: {r: .19166474, g: .301966369, b: .474509805, a: 1}
|
||||
m_NormalizedViewPortRect:
|
||||
serializedVersion: 2
|
||||
x: 0
|
||||
y: 0
|
||||
width: 1
|
||||
height: 1
|
||||
near clip plane: .300000012
|
||||
far clip plane: 1000
|
||||
field of view: 60
|
||||
orthographic: 0
|
||||
orthographic size: 100
|
||||
m_Depth: 0
|
||||
m_CullingMask:
|
||||
serializedVersion: 2
|
||||
m_Bits: 4294967295
|
||||
m_RenderingPath: -1
|
||||
m_TargetTexture: {fileID: 0}
|
||||
m_TargetDisplay: 0
|
||||
m_HDR: 0
|
||||
m_OcclusionCulling: 1
|
||||
m_StereoConvergence: 10
|
||||
m_StereoSeparation: .0219999999
|
||||
--- !u!1002 &2000001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!23 &2300000
|
||||
Renderer:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100000}
|
||||
m_Enabled: 1
|
||||
m_CastShadows: 0
|
||||
m_ReceiveShadows: 0
|
||||
m_LightmapIndex: 255
|
||||
m_LightmapTilingOffset: {x: 1, y: 1, z: 0, w: 0}
|
||||
m_Materials:
|
||||
- {fileID: 10302, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_SubsetIndices:
|
||||
m_StaticBatchRoot: {fileID: 0}
|
||||
m_UseLightProbes: 0
|
||||
m_LightProbeAnchor: {fileID: 0}
|
||||
m_ScaleInLightmap: 1
|
||||
m_SortingLayerID: 0
|
||||
m_SortingOrder: 0
|
||||
--- !u!1002 &2300001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!33 &3300000
|
||||
MeshFilter:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100000}
|
||||
m_Mesh: {fileID: 10205, guid: 0000000000000000e000000000000000, type: 0}
|
||||
--- !u!1002 &3300001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!81 &8100000
|
||||
AudioListener:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
--- !u!1002 &8100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!92 &9200000
|
||||
Behaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
--- !u!1002 &9200001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 68ec2fe99d1108b9d0006a298d76c639, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
axes: 1
|
||||
sensitivityX: 15
|
||||
sensitivityY: 0
|
||||
minimumX: -360
|
||||
maximumX: 360
|
||||
minimumY: 0
|
||||
maximumY: 0
|
||||
--- !u!1002 &11400001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &11400002
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 0ab79d7f243824f5d9826bd83522c8df, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
canControl: 1
|
||||
useFixedUpdate: 1
|
||||
movement:
|
||||
maxForwardSpeed: 6
|
||||
maxSidewaysSpeed: 6
|
||||
maxBackwardsSpeed: 6
|
||||
slopeSpeedMultiplier:
|
||||
serializedVersion: 2
|
||||
m_Curve:
|
||||
- time: -90
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
- time: 0
|
||||
value: 1
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
- time: 90
|
||||
value: 0
|
||||
inSlope: 0
|
||||
outSlope: 0
|
||||
tangentMode: 0
|
||||
m_PreInfinity: 2
|
||||
m_PostInfinity: 2
|
||||
maxGroundAcceleration: 20
|
||||
maxAirAcceleration: 15
|
||||
gravity: 20
|
||||
maxFallSpeed: 20
|
||||
jumping:
|
||||
enabled: 1
|
||||
baseHeight: 1
|
||||
extraHeight: 1
|
||||
perpAmount: 0
|
||||
steepPerpAmount: .5
|
||||
movingPlatform:
|
||||
enabled: 1
|
||||
movementTransfer: 2
|
||||
sliding:
|
||||
enabled: 1
|
||||
slidingSpeed: 10
|
||||
sidewaysControl: 1
|
||||
speedControl: .400000006
|
||||
--- !u!1002 &11400003
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &11400004
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 60bca8f58a0b8478e946e6e86658cb29, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
--- !u!1002 &11400005
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &11400006
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: 68ec2fe99d1108b9d0006a298d76c639, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
axes: 2
|
||||
sensitivityX: 10
|
||||
sensitivityY: 10
|
||||
minimumX: 0
|
||||
maximumX: 360
|
||||
minimumY: -60
|
||||
maximumY: 60
|
||||
--- !u!1002 &11400007
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!124 &12400000
|
||||
Behaviour:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100004}
|
||||
m_Enabled: 1
|
||||
--- !u!1002 &12400001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!143 &14300000
|
||||
CharacterController:
|
||||
m_ObjectHideFlags: 1
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 100100000}
|
||||
m_GameObject: {fileID: 100002}
|
||||
serializedVersion: 2
|
||||
m_Height: 2
|
||||
m_Radius: .400000006
|
||||
m_SlopeLimit: 45
|
||||
m_StepOffset: .400000006
|
||||
m_SkinWidth: .0500000007
|
||||
m_MinMoveDistance: 0
|
||||
m_Center: {x: 0, y: 0, z: 0}
|
||||
--- !u!1002 &14300001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!1001 &100100000
|
||||
Prefab:
|
||||
m_ObjectHideFlags: 1
|
||||
serializedVersion: 2
|
||||
m_Modification:
|
||||
m_TransformParent: {fileID: 0}
|
||||
m_Modifications: []
|
||||
m_RemovedComponents: []
|
||||
m_ParentPrefab: {fileID: 0}
|
||||
m_RootGameObject: {fileID: 100002}
|
||||
m_IsPrefabParent: 1
|
||||
m_IsExploded: 1
|
||||
--- !u!1002 &100100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
@@ -1,4 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9d4133d5d30b644bd87802a347eaccbe
|
||||
NativeFormatImporter:
|
||||
userData:
|
||||
@@ -1,418 +1,153 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 449b48f7eb5d87a4baaa5fb73f875a59
|
||||
ModelImporter:
|
||||
serializedVersion: 20101
|
||||
internalIDToNameTable:
|
||||
- first:
|
||||
1: 100000
|
||||
second: Bip001 R Finger1
|
||||
- first:
|
||||
1: 100002
|
||||
second: Bip001 R Finger21
|
||||
- first:
|
||||
1: 100004
|
||||
second: Bip001 R Finger11
|
||||
- first:
|
||||
1: 100006
|
||||
second: Bip001 R Finger02
|
||||
- first:
|
||||
1: 100010
|
||||
second: Bip001 R Finger12
|
||||
- first:
|
||||
1: 100012
|
||||
second: Bip001 R Finger41
|
||||
- first:
|
||||
1: 100014
|
||||
second: Bip001 R Finger4
|
||||
- first:
|
||||
1: 100018
|
||||
second: Bip001 R Finger32
|
||||
- first:
|
||||
1: 100020
|
||||
second: Bip001 R Finger31
|
||||
- first:
|
||||
1: 100022
|
||||
second: Bip001 R Finger3
|
||||
- first:
|
||||
1: 100026
|
||||
second: hip_adjustment_bone_right
|
||||
- first:
|
||||
1: 100028
|
||||
second: Bip001 R Finger42
|
||||
- first:
|
||||
1: 100032
|
||||
second: hip_adjustment_bone_left
|
||||
- first:
|
||||
1: 100034
|
||||
second: Bip001 R Finger2
|
||||
- first:
|
||||
1: 100036
|
||||
second: Bip001 R Finger22
|
||||
- first:
|
||||
1: 100040
|
||||
second: Bip001 R UpperArm
|
||||
- first:
|
||||
1: 100042
|
||||
second: Bip001 R Forearm
|
||||
- first:
|
||||
1: 100044
|
||||
second: Bip001 R Finger0
|
||||
- first:
|
||||
1: 100046
|
||||
second: Bip001 R Finger01
|
||||
- first:
|
||||
1: 100052
|
||||
second: //RootNode
|
||||
- first:
|
||||
1: 100054
|
||||
second: Bip001 R Clavicle
|
||||
- first:
|
||||
1: 100058
|
||||
second: Bip001 L Finger3
|
||||
- first:
|
||||
1: 100060
|
||||
second: Bip001 L Finger31
|
||||
- first:
|
||||
1: 100062
|
||||
second: Bip001 L Finger32
|
||||
- first:
|
||||
1: 100066
|
||||
second: Bip001 L Finger4
|
||||
- first:
|
||||
1: 100068
|
||||
second: Bip001 L Finger41
|
||||
- first:
|
||||
1: 100070
|
||||
second: Bip001 L Finger42
|
||||
- first:
|
||||
1: 100074
|
||||
second: Bip001 L Finger22
|
||||
- first:
|
||||
1: 100076
|
||||
second: Bip001 L Finger02
|
||||
- first:
|
||||
1: 100080
|
||||
second: Bip001 L Finger1
|
||||
- first:
|
||||
1: 100082
|
||||
second: Bip001 L Finger11
|
||||
- first:
|
||||
1: 100084
|
||||
second: Bip001 L Finger12
|
||||
- first:
|
||||
1: 100088
|
||||
second: Bip001 L Finger2
|
||||
- first:
|
||||
1: 100090
|
||||
second: Bip001 L Finger21
|
||||
- first:
|
||||
1: 100092
|
||||
second: Bip001 L Finger0
|
||||
- first:
|
||||
1: 100094
|
||||
second: Bip001 L Finger01
|
||||
- first:
|
||||
1: 100096
|
||||
second: Bip001 L Forearm
|
||||
- first:
|
||||
1: 100098
|
||||
second: Bip001 L UpperArm
|
||||
- first:
|
||||
1: 100100
|
||||
second: Bip001 L Clavicle
|
||||
- first:
|
||||
1: 100102
|
||||
second: construction_worker
|
||||
- first:
|
||||
1: 100104
|
||||
second: Bip001 R Toe0
|
||||
- first:
|
||||
1: 100106
|
||||
second: Bip001 R Foot
|
||||
- first:
|
||||
1: 100108
|
||||
second: Bip001 R Calf
|
||||
- first:
|
||||
1: 100110
|
||||
second: Bip001 R Thigh
|
||||
- first:
|
||||
1: 100112
|
||||
second: Bip001 L Toe0
|
||||
- first:
|
||||
1: 100114
|
||||
second: Bip001 L Foot
|
||||
- first:
|
||||
1: 100116
|
||||
second: Bip001 L Calf
|
||||
- first:
|
||||
1: 100118
|
||||
second: Bip001 L Thigh
|
||||
- first:
|
||||
1: 100120
|
||||
second: helmet_bone
|
||||
- first:
|
||||
1: 100124
|
||||
second: Bip001 Head
|
||||
- first:
|
||||
1: 100126
|
||||
second: wrench
|
||||
- first:
|
||||
1: 100128
|
||||
second: Bip001 R Hand
|
||||
- first:
|
||||
1: 100130
|
||||
second: Bip001 L Hand
|
||||
- first:
|
||||
1: 100132
|
||||
second: Bip001 Neck
|
||||
- first:
|
||||
1: 100134
|
||||
second: Bip001 Spine1
|
||||
- first:
|
||||
1: 100136
|
||||
second: Bip001 Spine
|
||||
- first:
|
||||
1: 100138
|
||||
second: Bip001 Pelvis
|
||||
- first:
|
||||
1: 100140
|
||||
second: Bip001
|
||||
- first:
|
||||
4: 400000
|
||||
second: Bip001 R Finger1
|
||||
- first:
|
||||
4: 400002
|
||||
second: Bip001 R Finger21
|
||||
- first:
|
||||
4: 400004
|
||||
second: Bip001 R Finger11
|
||||
- first:
|
||||
4: 400006
|
||||
second: Bip001 R Finger02
|
||||
- first:
|
||||
4: 400010
|
||||
second: Bip001 R Finger12
|
||||
- first:
|
||||
4: 400012
|
||||
second: Bip001 R Finger41
|
||||
- first:
|
||||
4: 400014
|
||||
second: Bip001 R Finger4
|
||||
- first:
|
||||
4: 400018
|
||||
second: Bip001 R Finger32
|
||||
- first:
|
||||
4: 400020
|
||||
second: Bip001 R Finger31
|
||||
- first:
|
||||
4: 400022
|
||||
second: Bip001 R Finger3
|
||||
- first:
|
||||
4: 400026
|
||||
second: hip_adjustment_bone_right
|
||||
- first:
|
||||
4: 400028
|
||||
second: Bip001 R Finger42
|
||||
- first:
|
||||
4: 400032
|
||||
second: hip_adjustment_bone_left
|
||||
- first:
|
||||
4: 400034
|
||||
second: Bip001 R Finger2
|
||||
- first:
|
||||
4: 400036
|
||||
second: Bip001 R Finger22
|
||||
- first:
|
||||
4: 400040
|
||||
second: Bip001 R UpperArm
|
||||
- first:
|
||||
4: 400042
|
||||
second: Bip001 R Forearm
|
||||
- first:
|
||||
4: 400044
|
||||
second: Bip001 R Finger0
|
||||
- first:
|
||||
4: 400046
|
||||
second: Bip001 R Finger01
|
||||
- first:
|
||||
4: 400052
|
||||
second: //RootNode
|
||||
- first:
|
||||
4: 400054
|
||||
second: Bip001 R Clavicle
|
||||
- first:
|
||||
4: 400058
|
||||
second: Bip001 L Finger3
|
||||
- first:
|
||||
4: 400060
|
||||
second: Bip001 L Finger31
|
||||
- first:
|
||||
4: 400062
|
||||
second: Bip001 L Finger32
|
||||
- first:
|
||||
4: 400066
|
||||
second: Bip001 L Finger4
|
||||
- first:
|
||||
4: 400068
|
||||
second: Bip001 L Finger41
|
||||
- first:
|
||||
4: 400070
|
||||
second: Bip001 L Finger42
|
||||
- first:
|
||||
4: 400074
|
||||
second: Bip001 L Finger22
|
||||
- first:
|
||||
4: 400076
|
||||
second: Bip001 L Finger02
|
||||
- first:
|
||||
4: 400080
|
||||
second: Bip001 L Finger1
|
||||
- first:
|
||||
4: 400082
|
||||
second: Bip001 L Finger11
|
||||
- first:
|
||||
4: 400084
|
||||
second: Bip001 L Finger12
|
||||
- first:
|
||||
4: 400088
|
||||
second: Bip001 L Finger2
|
||||
- first:
|
||||
4: 400090
|
||||
second: Bip001 L Finger21
|
||||
- first:
|
||||
4: 400092
|
||||
second: Bip001 L Finger0
|
||||
- first:
|
||||
4: 400094
|
||||
second: Bip001 L Finger01
|
||||
- first:
|
||||
4: 400096
|
||||
second: Bip001 L Forearm
|
||||
- first:
|
||||
4: 400098
|
||||
second: Bip001 L UpperArm
|
||||
- first:
|
||||
4: 400100
|
||||
second: Bip001 L Clavicle
|
||||
- first:
|
||||
4: 400102
|
||||
second: construction_worker
|
||||
- first:
|
||||
4: 400104
|
||||
second: Bip001 R Toe0
|
||||
- first:
|
||||
4: 400106
|
||||
second: Bip001 R Foot
|
||||
- first:
|
||||
4: 400108
|
||||
second: Bip001 R Calf
|
||||
- first:
|
||||
4: 400110
|
||||
second: Bip001 R Thigh
|
||||
- first:
|
||||
4: 400112
|
||||
second: Bip001 L Toe0
|
||||
- first:
|
||||
4: 400114
|
||||
second: Bip001 L Foot
|
||||
- first:
|
||||
4: 400116
|
||||
second: Bip001 L Calf
|
||||
- first:
|
||||
4: 400118
|
||||
second: Bip001 L Thigh
|
||||
- first:
|
||||
4: 400120
|
||||
second: helmet_bone
|
||||
- first:
|
||||
4: 400124
|
||||
second: Bip001 Head
|
||||
- first:
|
||||
4: 400126
|
||||
second: wrench
|
||||
- first:
|
||||
4: 400128
|
||||
second: Bip001 R Hand
|
||||
- first:
|
||||
4: 400130
|
||||
second: Bip001 L Hand
|
||||
- first:
|
||||
4: 400132
|
||||
second: Bip001 Neck
|
||||
- first:
|
||||
4: 400134
|
||||
second: Bip001 Spine1
|
||||
- first:
|
||||
4: 400136
|
||||
second: Bip001 Spine
|
||||
- first:
|
||||
4: 400138
|
||||
second: Bip001 Pelvis
|
||||
- first:
|
||||
4: 400140
|
||||
second: Bip001
|
||||
- first:
|
||||
23: 2300000
|
||||
second: wrench
|
||||
- first:
|
||||
33: 3300000
|
||||
second: wrench
|
||||
- first:
|
||||
43: 4300000
|
||||
second: construction_worker
|
||||
- first:
|
||||
43: 4300002
|
||||
second: wrench
|
||||
- first:
|
||||
74: 7400012
|
||||
second: idle
|
||||
- first:
|
||||
74: 7400014
|
||||
second: run
|
||||
- first:
|
||||
74: 7400016
|
||||
second: walk
|
||||
- first:
|
||||
74: 7400018
|
||||
second: jump_pose
|
||||
- first:
|
||||
111: 11100000
|
||||
second: //RootNode
|
||||
- first:
|
||||
137: 13700000
|
||||
second: Bip001 Pelvis
|
||||
externalObjects: {}
|
||||
serializedVersion: 16
|
||||
fileIDToRecycleName:
|
||||
100000: Bip001 R Finger1
|
||||
100002: Bip001 R Finger21
|
||||
100004: Bip001 R Finger11
|
||||
100006: Bip001 R Finger02
|
||||
100010: Bip001 R Finger12
|
||||
100012: Bip001 R Finger41
|
||||
100014: Bip001 R Finger4
|
||||
100018: Bip001 R Finger32
|
||||
100020: Bip001 R Finger31
|
||||
100022: Bip001 R Finger3
|
||||
100026: hip_adjustment_bone_right
|
||||
100028: Bip001 R Finger42
|
||||
100032: hip_adjustment_bone_left
|
||||
100034: Bip001 R Finger2
|
||||
100036: Bip001 R Finger22
|
||||
100040: Bip001 R UpperArm
|
||||
100042: Bip001 R Forearm
|
||||
100044: Bip001 R Finger0
|
||||
100046: Bip001 R Finger01
|
||||
100052: //RootNode
|
||||
100054: Bip001 R Clavicle
|
||||
100058: Bip001 L Finger3
|
||||
100060: Bip001 L Finger31
|
||||
100062: Bip001 L Finger32
|
||||
100066: Bip001 L Finger4
|
||||
100068: Bip001 L Finger41
|
||||
100070: Bip001 L Finger42
|
||||
100074: Bip001 L Finger22
|
||||
100076: Bip001 L Finger02
|
||||
100080: Bip001 L Finger1
|
||||
100082: Bip001 L Finger11
|
||||
100084: Bip001 L Finger12
|
||||
100088: Bip001 L Finger2
|
||||
100090: Bip001 L Finger21
|
||||
100092: Bip001 L Finger0
|
||||
100094: Bip001 L Finger01
|
||||
100096: Bip001 L Forearm
|
||||
100098: Bip001 L UpperArm
|
||||
100100: Bip001 L Clavicle
|
||||
100102: construction_worker
|
||||
100104: Bip001 R Toe0
|
||||
100106: Bip001 R Foot
|
||||
100108: Bip001 R Calf
|
||||
100110: Bip001 R Thigh
|
||||
100112: Bip001 L Toe0
|
||||
100114: Bip001 L Foot
|
||||
100116: Bip001 L Calf
|
||||
100118: Bip001 L Thigh
|
||||
100120: helmet_bone
|
||||
100124: Bip001 Head
|
||||
100126: wrench
|
||||
100128: Bip001 R Hand
|
||||
100130: Bip001 L Hand
|
||||
100132: Bip001 Neck
|
||||
100134: Bip001 Spine1
|
||||
100136: Bip001 Spine
|
||||
100138: Bip001 Pelvis
|
||||
100140: Bip001
|
||||
400000: Bip001 R Finger1
|
||||
400002: Bip001 R Finger21
|
||||
400004: Bip001 R Finger11
|
||||
400006: Bip001 R Finger02
|
||||
400010: Bip001 R Finger12
|
||||
400012: Bip001 R Finger41
|
||||
400014: Bip001 R Finger4
|
||||
400018: Bip001 R Finger32
|
||||
400020: Bip001 R Finger31
|
||||
400022: Bip001 R Finger3
|
||||
400026: hip_adjustment_bone_right
|
||||
400028: Bip001 R Finger42
|
||||
400032: hip_adjustment_bone_left
|
||||
400034: Bip001 R Finger2
|
||||
400036: Bip001 R Finger22
|
||||
400040: Bip001 R UpperArm
|
||||
400042: Bip001 R Forearm
|
||||
400044: Bip001 R Finger0
|
||||
400046: Bip001 R Finger01
|
||||
400052: //RootNode
|
||||
400054: Bip001 R Clavicle
|
||||
400058: Bip001 L Finger3
|
||||
400060: Bip001 L Finger31
|
||||
400062: Bip001 L Finger32
|
||||
400066: Bip001 L Finger4
|
||||
400068: Bip001 L Finger41
|
||||
400070: Bip001 L Finger42
|
||||
400074: Bip001 L Finger22
|
||||
400076: Bip001 L Finger02
|
||||
400080: Bip001 L Finger1
|
||||
400082: Bip001 L Finger11
|
||||
400084: Bip001 L Finger12
|
||||
400088: Bip001 L Finger2
|
||||
400090: Bip001 L Finger21
|
||||
400092: Bip001 L Finger0
|
||||
400094: Bip001 L Finger01
|
||||
400096: Bip001 L Forearm
|
||||
400098: Bip001 L UpperArm
|
||||
400100: Bip001 L Clavicle
|
||||
400102: construction_worker
|
||||
400104: Bip001 R Toe0
|
||||
400106: Bip001 R Foot
|
||||
400108: Bip001 R Calf
|
||||
400110: Bip001 R Thigh
|
||||
400112: Bip001 L Toe0
|
||||
400114: Bip001 L Foot
|
||||
400116: Bip001 L Calf
|
||||
400118: Bip001 L Thigh
|
||||
400120: helmet_bone
|
||||
400124: Bip001 Head
|
||||
400126: wrench
|
||||
400128: Bip001 R Hand
|
||||
400130: Bip001 L Hand
|
||||
400132: Bip001 Neck
|
||||
400134: Bip001 Spine1
|
||||
400136: Bip001 Spine
|
||||
400138: Bip001 Pelvis
|
||||
400140: Bip001
|
||||
2300000: wrench
|
||||
3300000: wrench
|
||||
4300000: construction_worker
|
||||
4300002: wrench
|
||||
7400012: idle
|
||||
7400014: run
|
||||
7400016: walk
|
||||
7400018: jump_pose
|
||||
11100000: //RootNode
|
||||
13700000: Bip001 Pelvis
|
||||
materials:
|
||||
materialImportMode: 1
|
||||
importMaterials: 1
|
||||
materialName: 3
|
||||
materialSearch: 1
|
||||
materialLocation: 0
|
||||
animations:
|
||||
legacyGenerateAnimations: 3
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
importAnimatedCustomProperties: 0
|
||||
importConstraints: 0
|
||||
animationCompression: 0
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationRotationError: .5
|
||||
animationPositionError: .5
|
||||
animationScaleError: .5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
extraUserProperties: []
|
||||
clipAnimations:
|
||||
- serializedVersion: 16
|
||||
name: idle
|
||||
takeName:
|
||||
internalID: 0
|
||||
firstFrame: 2
|
||||
lastFrame: 62
|
||||
wrapMode: 2
|
||||
@@ -420,7 +155,6 @@ ModelImporter:
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
@@ -437,11 +171,9 @@ ModelImporter:
|
||||
transformMask: []
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
- serializedVersion: 16
|
||||
name: run
|
||||
takeName:
|
||||
internalID: 0
|
||||
firstFrame: 65
|
||||
lastFrame: 81
|
||||
wrapMode: 2
|
||||
@@ -449,7 +181,6 @@ ModelImporter:
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
@@ -466,11 +197,9 @@ ModelImporter:
|
||||
transformMask: []
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
- serializedVersion: 16
|
||||
name: walk
|
||||
takeName:
|
||||
internalID: 0
|
||||
firstFrame: 84
|
||||
lastFrame: 116
|
||||
wrapMode: 2
|
||||
@@ -478,7 +207,6 @@ ModelImporter:
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
@@ -495,11 +223,9 @@ ModelImporter:
|
||||
transformMask: []
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
- serializedVersion: 16
|
||||
name: jump_pose
|
||||
takeName:
|
||||
internalID: 0
|
||||
firstFrame: 118
|
||||
lastFrame: 123
|
||||
wrapMode: 0
|
||||
@@ -507,7 +233,6 @@ ModelImporter:
|
||||
level: 0
|
||||
cycleOffset: 0
|
||||
loop: 0
|
||||
hasAdditiveReferencePose: 0
|
||||
loopTime: 0
|
||||
loopBlend: 0
|
||||
loopBlendOrientation: 0
|
||||
@@ -524,72 +249,41 @@ ModelImporter:
|
||||
transformMask: []
|
||||
maskType: 0
|
||||
maskSource: {instanceID: 0}
|
||||
additiveReferencePoseFrame: 0
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 0.01
|
||||
globalScale: .00999999978
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
useSRGBMaterialColor: 1
|
||||
sortHierarchyByName: 1
|
||||
importVisibility: 0
|
||||
importBlendShapes: 1
|
||||
importCameras: 0
|
||||
importLights: 0
|
||||
fileIdsGeneration: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 1
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
keepQuads: 0
|
||||
optimizeMeshForGPU: 1
|
||||
weldVertices: 1
|
||||
bakeAxisConversion: 0
|
||||
preserveHierarchy: 0
|
||||
skinWeightsMode: 0
|
||||
maxBonesPerVertex: 4
|
||||
minBoneWeight: 0.001
|
||||
meshOptimizationFlags: -1
|
||||
indexFormat: 1
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVMarginMethod: 0
|
||||
secondaryUVMinLightmapResolution: 40
|
||||
secondaryUVMinObjectScale: 1
|
||||
secondaryUVPackMargin: 64
|
||||
useFileScale: 0
|
||||
secondaryUVPackMargin: 4
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
splitTangentsAcrossUV: 1
|
||||
normalImportMode: 0
|
||||
tangentImportMode: 4
|
||||
normalCalculationMode: 0
|
||||
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 1
|
||||
blendShapeNormalImportMode: 1
|
||||
normalSmoothingSource: 0
|
||||
referencedClips: []
|
||||
tangentImportMode: 1
|
||||
importAnimation: 1
|
||||
copyAvatar: 0
|
||||
humanDescription:
|
||||
serializedVersion: 3
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
armTwist: .5
|
||||
foreArmTwist: .5
|
||||
upperLegTwist: .5
|
||||
legTwist: .5
|
||||
armStretch: .0500000007
|
||||
legStretch: .0500000007
|
||||
feetSpacing: 0
|
||||
globalScale: 0.01
|
||||
rootMotionBoneName:
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 0
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
autoGenerateAvatarMappingIfUnspecified: 1
|
||||
animationType: 1
|
||||
humanoidOversampling: 1
|
||||
avatarSetup: 0
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
||||
@@ -2,81 +2,45 @@
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: constructor_done
|
||||
m_Shader: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3}
|
||||
m_ShaderKeywords: _GLOSSINESS_FROM_BASE_ALPHA _SPECULAR_COLOR
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: 2000
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses: []
|
||||
m_Shader: {fileID: 4, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: []
|
||||
m_CustomRenderQueue: -1
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
serializedVersion: 2
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 2800000, guid: 97b050d43ac7c4d2b9f6cbb587650761, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: 531c14f8d5cdc4e5baa83ee6e16f783a, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 2800000, guid: 97b050d43ac7c4d2b9f6cbb587650761, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SpecGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
data:
|
||||
first:
|
||||
name: _MainTex
|
||||
second:
|
||||
m_Texture: {fileID: 2800000, guid: 97b050d43ac7c4d2b9f6cbb587650761, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
data:
|
||||
first:
|
||||
name: _BumpMap
|
||||
second:
|
||||
m_Texture: {fileID: 2800000, guid: 531c14f8d5cdc4e5baa83ee6e16f783a, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _AlphaClip: 0
|
||||
- _Blend: 0
|
||||
- _BumpScale: 1
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DstBlend: 0
|
||||
- _GlossinessSource: 0
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Shininess: 0.078125
|
||||
- _Smoothness: 0.078125
|
||||
- _SmoothnessSource: 1
|
||||
- _SpecSource: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _Surface: 0
|
||||
- _ZWrite: 1
|
||||
data:
|
||||
first:
|
||||
name: _Shininess
|
||||
second: .078125
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 1, g: 1, b: 1, a: 0.078125}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
data:
|
||||
first:
|
||||
name: _Color
|
||||
second: {r: 1, g: 1, b: 1, a: 1}
|
||||
data:
|
||||
first:
|
||||
name: _SpecColor
|
||||
second: {r: .5, g: .5, b: .5, a: 1}
|
||||
--- !u!1002 &2100001
|
||||
EditorExtensionImpl:
|
||||
serializedVersion: 6
|
||||
--- !u!114 &1295817526264759368
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 4
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
using UnityEngine;
|
||||
using System.Collections;
|
||||
|
||||
/// MouseLook rotates the transform based on the mouse delta.
|
||||
/// Minimum and Maximum values can be used to constrain the possible rotation
|
||||
|
||||
/// To make an FPS style character:
|
||||
/// - Create a capsule.
|
||||
/// - Add the MouseLook script to the capsule.
|
||||
/// -> Set the mouse look to use LookX. (You want to only turn character but not tilt it)
|
||||
/// - Add FPSInputController script to the capsule
|
||||
/// -> A CharacterMotor and a CharacterController component will be automatically added.
|
||||
|
||||
/// - Create a camera. Make the camera a child of the capsule. Reset it's transform.
|
||||
/// - Add a MouseLook script to the camera.
|
||||
/// -> Set the mouse look to use LookY. (You want the camera to tilt up and down like a head. The character already turns.)
|
||||
[AddComponentMenu("Camera-Control/Mouse Look")]
|
||||
public class MouseLook : MonoBehaviour {
|
||||
|
||||
public enum RotationAxes { MouseXAndY = 0, MouseX = 1, MouseY = 2 }
|
||||
public RotationAxes axes = RotationAxes.MouseXAndY;
|
||||
public float sensitivityX = 15F;
|
||||
public float sensitivityY = 15F;
|
||||
|
||||
public float minimumX = -360F;
|
||||
public float maximumX = 360F;
|
||||
|
||||
public float minimumY = -60F;
|
||||
public float maximumY = 60F;
|
||||
|
||||
float rotationY = 0F;
|
||||
|
||||
void Update ()
|
||||
{
|
||||
if (axes == RotationAxes.MouseXAndY)
|
||||
{
|
||||
float rotationX = transform.localEulerAngles.y + Input.GetAxis("Mouse X") * sensitivityX;
|
||||
|
||||
rotationY += Input.GetAxis("Mouse Y") * sensitivityY;
|
||||
rotationY = Mathf.Clamp (rotationY, minimumY, maximumY);
|
||||
|
||||
transform.localEulerAngles = new Vector3(-rotationY, rotationX, 0);
|
||||
}
|
||||
else if (axes == RotationAxes.MouseX)
|
||||
{
|
||||
transform.Rotate(0, Input.GetAxis("Mouse X") * sensitivityX, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
rotationY += Input.GetAxis("Mouse Y") * sensitivityY;
|
||||
rotationY = Mathf.Clamp (rotationY, minimumY, maximumY);
|
||||
|
||||
transform.localEulerAngles = new Vector3(-rotationY, transform.localEulerAngles.y, 0);
|
||||
}
|
||||
}
|
||||
|
||||
void Start ()
|
||||
{
|
||||
// Make the rigid body not change rotation
|
||||
if (GetComponent<Rigidbody>())
|
||||
GetComponent<Rigidbody>().freezeRotation = true;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68ec2fe99d1108b9d0006a298d76c639
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
Reference in New Issue
Block a user