Add bow and arrow

This commit is contained in:
Toomas Tamm 2021-02-04 21:31:13 +02:00
parent a9f341cd53
commit 577c0e75af
33 changed files with 2750 additions and 70 deletions

View File

@ -0,0 +1,101 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: BowController
serializedVersion: 5
m_AnimatorParameters:
- m_Name: Blend
m_Type: 1
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
m_StateMachine: {fileID: 1107206135500981674}
m_Mask: {fileID: 0}
m_Motions: []
m_Behaviours: []
m_BlendingMode: 0
m_SyncedLayerIndex: -1
m_DefaultWeight: 0
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!206 &206112162874076260
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Blend Tree
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 0749e30cf9ee8c6448bd2a82cd428c5f, type: 3}
m_Threshold: 0
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: Blend
m_Mirror: 0
m_BlendParameter: Blend
m_BlendParameterY: Blend
m_MinThreshold: 0
m_MaxThreshold: 1
m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0
m_BlendType: 4
--- !u!1102 &1102226713311692788
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Pull
m_Speed: 1
m_CycleOffset: 0
m_Transitions: []
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 206112162874076260}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &1107206135500981674
AnimatorStateMachine:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Base Layer
m_ChildStates:
- serializedVersion: 1
m_State: {fileID: 1102226713311692788}
m_Position: {x: 312, y: 120, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions: []
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
m_AnyStatePosition: {x: 50, y: 20, z: 0}
m_EntryPosition: {x: 50, y: 120, z: 0}
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 1102226713311692788}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c44f8eaa5ad59e94e98340727c399ad7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 9100000
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Models/Bow.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6a09fc015d5279f469329a2255da580d
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Models/Bow/SM_Arrow.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,104 @@
fileFormatVersion: 2
guid: cdfb793862bfc6f4db3776d74885cb47
ModelImporter:
serializedVersion: 23
fileIDToRecycleName:
100000: //RootNode
100002: polySurface2
100004: tip
400000: //RootNode
400002: polySurface2
400004: tip
2100000: arrow
2300000: polySurface2
2300002: tip
3300000: polySurface2
3300002: tip
4300000: tip
4300002: polySurface2
externalObjects: {}
materials:
importMaterials: 0
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 1
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
optimizeMeshForGPU: 1
keepQuads: 0
weldVertices: 1
preserveHierarchy: 0
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
previousCalculatedGlobalScale: 1
hasPreviousCalculatedGlobalScale: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
importAnimation: 1
copyAvatar: 0
humanDescription:
serializedVersion: 2
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 0
humanoidOversampling: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Models/Bow/SM_Bow.fbx (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,174 @@
fileFormatVersion: 2
guid: 0749e30cf9ee8c6448bd2a82cd428c5f
ModelImporter:
serializedVersion: 23
fileIDToRecycleName:
100000: bow_base
100002: bow_base_CTRL
100004: bow_base_CTRL_AnimNUL
100006: bow_base_CTRL_HmNUL
100008: bow_base_CTRL_SpaceNUL
100010: bow_noString
100012: btmArm0
100014: btmArm1
100016: btmArm2
100018: btmArm3
100020: //RootNode
100022: notch
100024: stringBtm
100026: stringBtmArc
100028: stringBtmNotch
100030: StringGeom
100032: stringTop
100034: stringTopArc
100036: stringTopNotch
100038: topArm0
100040: topArm1
100042: topArm2
100044: topArm3
400000: bow_base
400002: bow_base_CTRL
400004: bow_base_CTRL_AnimNUL
400006: bow_base_CTRL_HmNUL
400008: bow_base_CTRL_SpaceNUL
400010: bow_noString
400012: btmArm0
400014: btmArm1
400016: btmArm2
400018: btmArm3
400020: //RootNode
400022: notch
400024: stringBtm
400026: stringBtmArc
400028: stringBtmNotch
400030: StringGeom
400032: stringTop
400034: stringTopArc
400036: stringTopNotch
400038: topArm0
400040: topArm1
400042: topArm2
400044: topArm3
2100000: lambert2
2100002: stringLambert
2100004: notchLambert
4300000: bow_noString
4300002: StringGeom
7400000: Pull
9500000: //RootNode
13700000: bow_noString
13700002: StringGeom
externalObjects: {}
materials:
importMaterials: 0
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 3
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations:
- serializedVersion: 16
name: Pull
takeName: Take 001
firstFrame: 1
lastFrame: 120
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 0
loopBlend: 0
loopBlendOrientation: 0
loopBlendPositionY: 0
loopBlendPositionXZ: 0
keepOriginalOrientation: 0
keepOriginalPositionY: 1
keepOriginalPositionXZ: 0
heightFromFeet: 0
mirror: 0
bodyMask: 01000000010000000100000001000000010000000100000001000000010000000100000001000000010000000100000001000000
curves: []
events: []
transformMask: []
maskType: 3
maskSource: {instanceID: 0}
additiveReferencePoseFrame: 0
isReadable: 1
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
optimizeMeshForGPU: 1
keepQuads: 0
weldVertices: 1
preserveHierarchy: 0
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
previousCalculatedGlobalScale: 0.01
hasPreviousCalculatedGlobalScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
importAnimation: 1
copyAvatar: 0
humanDescription:
serializedVersion: 2
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 1
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
animationType: 2
humanoidOversampling: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 56ba51472cbeaf34083b701fcd2cd60a
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,371 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &553973262648068409
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8371234334440448612}
- component: {fileID: 4902982125418022909}
- component: {fileID: 384999108649450282}
- component: {fileID: 5990080644767838113}
m_Layer: 0
m_Name: Shaft
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8371234334440448612
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 553973262648068409}
m_LocalRotation: {x: 0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8623957444106179151}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4902982125418022909
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 553973262648068409}
m_Mesh: {fileID: 4300002, guid: cdfb793862bfc6f4db3776d74885cb47, type: 3}
--- !u!23 &384999108649450282
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 553973262648068409}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: fca6a85f2cb9a5c469487f6c4a950a8a, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!136 &5990080644767838113
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 553973262648068409}
m_Material: {fileID: 0}
m_IsTrigger: 1
m_Enabled: 1
m_Radius: 0.016995672
m_Height: 0.8134576
m_Direction: 1
m_Center: {x: 0.004637705, y: 0.018935028, z: -0.0002289713}
--- !u!1 &5897339726961812836
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8623957444106179151}
m_Layer: 0
m_Name: Mesh
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8623957444106179151
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5897339726961812836}
m_LocalRotation: {x: -0.7071068, y: 0, z: 0, w: 0.7071068}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 8371234334440448612}
- {fileID: 8386148805111352677}
m_Father: {fileID: 5832823175582339433}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: -90, y: 0, z: 0}
--- !u!1 &6223868130374480975
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 8386148805111352677}
- component: {fileID: 4086743000292619854}
- component: {fileID: 5509991328502552229}
m_Layer: 0
m_Name: Tip
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &8386148805111352677
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6223868130374480975}
m_LocalRotation: {x: 0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: -0, y: -0.37857613, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 8623957444106179151}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!33 &4086743000292619854
MeshFilter:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6223868130374480975}
m_Mesh: {fileID: 4300000, guid: cdfb793862bfc6f4db3776d74885cb47, type: 3}
--- !u!23 &5509991328502552229
MeshRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6223868130374480975}
m_Enabled: 1
m_CastShadows: 1
m_ReceiveShadows: 1
m_DynamicOccludee: 1
m_MotionVectors: 1
m_LightProbeUsage: 1
m_ReflectionProbeUsage: 1
m_RayTracingMode: 2
m_RayTraceProcedural: 0
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: fca6a85f2cb9a5c469487f6c4a950a8a, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
m_StaticBatchRoot: {fileID: 0}
m_ProbeAnchor: {fileID: 0}
m_LightProbeVolumeOverride: {fileID: 0}
m_ScaleInLightmap: 1
m_ReceiveGI: 1
m_PreserveUVs: 0
m_IgnoreNormalsForChartDetection: 0
m_ImportantGI: 0
m_StitchLightmapSeams: 0
m_SelectedEditorRenderState: 3
m_MinimumChartSize: 4
m_AutoUVMaxDistance: 0.5
m_AutoUVMaxAngle: 89
m_LightmapParameters: {fileID: 0}
m_SortingLayerID: 0
m_SortingLayer: 0
m_SortingOrder: 0
m_AdditionalVertexStreams: {fileID: 0}
--- !u!1 &8542102953145869890
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5832823175582339433}
- component: {fileID: 7046829276956346025}
- component: {fileID: 3544760493190169588}
m_Layer: 0
m_Name: Arrow
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5832823175582339433
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8542102953145869890}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 8623957444106179151}
- {fileID: 7069540796795955509}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &7046829276956346025
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8542102953145869890}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4efde785f55475d4faf016df659306fa, type: 3}
m_Name:
m_EditorClassIdentifier:
m_InteractionManager: {fileID: 0}
m_Colliders:
- {fileID: 5990080644767838113}
m_InteractionLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_OnFirstHoverEntered:
m_PersistentCalls:
m_Calls: []
m_OnHoverEntered:
m_PersistentCalls:
m_Calls: []
m_OnHoverExited:
m_PersistentCalls:
m_Calls: []
m_OnLastHoverExited:
m_PersistentCalls:
m_Calls: []
m_OnSelectEntered:
m_PersistentCalls:
m_Calls: []
m_OnSelectExited:
m_PersistentCalls:
m_Calls: []
m_OnSelectCanceled:
m_PersistentCalls:
m_Calls: []
m_OnActivate:
m_PersistentCalls:
m_Calls: []
m_OnDeactivate:
m_PersistentCalls:
m_Calls: []
m_CustomReticle: {fileID: 0}
m_AttachTransform: {fileID: 7069540796795955509}
m_AttachEaseInTime: 0.15
m_MovementType: 1
m_TrackPosition: 1
m_SmoothPosition: 1
m_SmoothPositionAmount: 5
m_TightenPosition: 0.5
m_TrackRotation: 1
m_SmoothRotation: 1
m_SmoothRotationAmount: 5
m_TightenRotation: 0.5
m_ThrowOnDetach: 1
m_ThrowSmoothingDuration: 0.25
m_ThrowSmoothingCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 1
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0
outWeight: 0
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
m_ThrowVelocityScale: 1.5
m_ThrowAngularVelocityScale: 0.25
m_GravityOnDetach: 0
m_RetainTransformParent: 1
speed: 2000
tip: {fileID: 8386148805111352677}
--- !u!54 &3544760493190169588
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8542102953145869890}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!1 &8589002692731022628
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 7069540796795955509}
m_Layer: 0
m_Name: Attach
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &7069540796795955509
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8589002692731022628}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: -0.425}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 5832823175582339433}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 5c51937e899ec9443a1757aefe9d49cb
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6c3c0bfa92038bd4aa725e80a43ced1e
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,71 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &2179614927706237426
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2179614927706237429}
- component: {fileID: 2179614927706237428}
m_Layer: 0
m_Name: Quiver
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &2179614927706237429
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2179614927706237426}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.25, y: 1, z: -1}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &2179614927706237428
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2179614927706237426}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8e5f8d9f9b7680c4ea92da637174b928, type: 3}
m_Name:
m_EditorClassIdentifier:
m_InteractionManager: {fileID: 0}
m_InteractionLayerMask:
serializedVersion: 2
m_Bits: 352119
m_AttachTransform: {fileID: 0}
m_StartingSelectedInteractable: {fileID: 0}
m_OnHoverEntered:
m_PersistentCalls:
m_Calls: []
m_OnHoverExited:
m_PersistentCalls:
m_Calls: []
m_OnSelectEntered:
m_PersistentCalls:
m_Calls: []
m_OnSelectExited:
m_PersistentCalls:
m_Calls: []
m_ShowInteractableHoverMeshes: 1
m_InteractableHoverMeshMaterial: {fileID: 0}
m_InteractableCantHoverMeshMaterial: {fileID: 0}
m_SocketActive: 1
m_InteractableHoverScale: 1
m_RecycleDelayTime: 1
arrowPrefab: {fileID: 8542102953145869890, guid: 5c51937e899ec9443a1757aefe9d49cb,
type: 3}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 6643fbc85ecf3864d9169980fd53311c
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -10,7 +10,7 @@ PrefabInstance:
- target: {fileID: 2376408783022628303, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_Name
value: Indoor Door Left
value: CGVR Lab Door
objectReference: {fileID: 0}
- target: {fileID: 2389456291377549788, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
@ -35,42 +35,77 @@ PrefabInstance:
- target: {fileID: 2389456291377549788, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
value: -0.00000005960465
objectReference: {fileID: 0}
- target: {fileID: 2389456291377549788, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
value: 0.00000005960465
objectReference: {fileID: 0}
- target: {fileID: 2389456291377549788, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 2389456291377549788, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
value: 0.7071068
objectReference: {fileID: 0}
- target: {fileID: 2389456291377549788, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
value: -90
objectReference: {fileID: 0}
- target: {fileID: 2389456291377549788, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
value: 90.00001
objectReference: {fileID: 0}
- target: {fileID: 2389456291377549788, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 90.00001
objectReference: {fileID: 0}
- target: {fileID: 6830999020486091146, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_Drag
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 6830999020486091146, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_Mass
value: 50
objectReference: {fileID: 0}
- target: {fileID: 6830999020486091146, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_UseGravity
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7524997068079331246, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_Layer
value: 31
objectReference: {fileID: 0}
- target: {fileID: 7641886289678632063, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_Layer
value: 0
objectReference: {fileID: 0}
- target: {fileID: 8606222079484180125, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_ConnectedAnchor.y
value: -0.012340516
objectReference: {fileID: 0}
- target: {fileID: 8606222079484180125, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_ConnectedAnchor.z
value: -0.359999
value: -0.35998628
objectReference: {fileID: 0}
- target: {fileID: 8606222079484180125, guid: c7190c7182dc47944b0a50b8b43c2a0a,
type: 3}
propertyPath: m_Limits.bounceMinVelocity
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: c7190c7182dc47944b0a50b8b43c2a0a, type: 3}

View File

@ -15,10 +15,10 @@ OcclusionCullingSettings:
RenderSettings:
m_ObjectHideFlags: 0
serializedVersion: 9
m_Fog: 0
m_Fog: 1
m_FogColor: {r: 0.5, g: 0.5, b: 0.5, a: 1}
m_FogMode: 3
m_FogDensity: 0.02
m_FogDensity: 0.005
m_LinearFogStart: 0
m_LinearFogEnd: 300
m_AmbientSkyColor: {r: 0.11320752, g: 0.11320752, b: 0.11320752, a: 1}
@ -28,7 +28,7 @@ RenderSettings:
m_AmbientMode: 0
m_SubtractiveShadowColor: {r: 0.016426103, g: 0, b: 0.24528301, a: 1}
m_SkyboxMaterial: {fileID: 2100000, guid: b8f20d5ca50d16143afc11f5e4af6fc1, type: 2}
m_HaloStrength: 0.5
m_HaloStrength: 0.039
m_FlareStrength: 1
m_FlareFadeSpeed: 3
m_HaloTexture: {fileID: 0}
@ -27307,6 +27307,70 @@ Transform:
m_Father: {fileID: 157402721}
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &113490709
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 113490710}
- component: {fileID: 113490711}
m_Layer: 0
m_Name: Robotics Lab
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 4294967295
m_IsActive: 1
--- !u!4 &113490710
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 113490709}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: -25.4, y: 13.13, z: 6.48}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1160582894}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!215 &113490711
ReflectionProbe:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 113490709}
m_Enabled: 1
serializedVersion: 2
m_Type: 0
m_Mode: 1
m_RefreshMode: 0
m_TimeSlicingMode: 0
m_Resolution: 512
m_UpdateFrequency: 0
m_BoxSize: {x: 10.853718, y: 4.2697816, z: 13.375427}
m_BoxOffset: {x: 0.20180702, y: 0.1348908, z: 6.6877136}
m_NearClip: 0.3
m_FarClip: 1000
m_ShadowDistance: 100
m_ClearFlags: 1
m_BackGroundColor: {r: 0, g: 0, b: 0, a: 0}
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_IntensityMultiplier: 0.34
m_BlendDistance: 1
m_HDR: 1
m_BoxProjection: 1
m_RenderDynamicObjects: 0
m_UseOcclusionCulling: 1
m_Importance: 1
m_CustomBakedTexture: {fileID: 0}
--- !u!1001 &113774345
PrefabInstance:
m_ObjectHideFlags: 0
@ -99376,6 +99440,75 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 409433942}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &409575811
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2179614927706237426, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_Name
value: Quiver
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_RootOrder
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalPosition.x
value: -75.796
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalPosition.y
value: 5.279
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalPosition.z
value: -12.577669
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2179614927706237429, guid: 6643fbc85ecf3864d9169980fd53311c,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6643fbc85ecf3864d9169980fd53311c, type: 3}
--- !u!1001 &409874613
PrefabInstance:
m_ObjectHideFlags: 0
@ -126045,7 +126178,7 @@ Transform:
- {fileID: 1255676489}
- {fileID: 939017999}
m_Father: {fileID: 0}
m_RootOrder: 1
m_RootOrder: 3
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &514336923
PrefabInstance:
@ -189423,7 +189556,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 5
m_RootOrder: 7
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &775653443
PrefabInstance:
@ -227358,7 +227491,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 7
m_RootOrder: 9
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &930987575
PrefabInstance:
@ -244514,6 +244647,75 @@ Transform:
type: 3}
m_PrefabInstance: {fileID: 998839120}
m_PrefabAsset: {fileID: 0}
--- !u!1001 &999133033
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 0}
m_Modifications:
- target: {fileID: 2589571369817754473, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_Name
value: Bow
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalPosition.x
value: -76.404854
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalPosition.y
value: 5.294
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalPosition.z
value: -11.947496
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 5854033015894534605, guid: 6c3c0bfa92038bd4aa725e80a43ced1e,
type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 6c3c0bfa92038bd4aa725e80a43ced1e, type: 3}
--- !u!1001 &1001287846
PrefabInstance:
m_ObjectHideFlags: 0
@ -285430,6 +285632,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1202833875}
- {fileID: 113490710}
m_Father: {fileID: 1767505368}
m_RootOrder: 2
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@ -296805,7 +297008,7 @@ ReflectionProbe:
m_Enabled: 1
serializedVersion: 2
m_Type: 0
m_Mode: 0
m_Mode: 1
m_RefreshMode: 0
m_TimeSlicingMode: 0
m_Resolution: 512
@ -357048,7 +357251,7 @@ Transform:
m_Children:
- {fileID: 1794820100}
m_Father: {fileID: 0}
m_RootOrder: 10
m_RootOrder: 12
m_LocalEulerAnglesHint: {x: 0, y: -90, z: 0}
--- !u!114 &1445400703
MonoBehaviour:
@ -357870,7 +358073,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 6
m_RootOrder: 8
m_LocalEulerAnglesHint: {x: 50, y: 0, z: 0}
--- !u!1001 &1449101819
PrefabInstance:
@ -361721,7 +361924,7 @@ MonoBehaviour:
m_InteractionManager: {fileID: 775269779}
m_InteractionLayerMask:
serializedVersion: 2
m_Bits: 4294967295
m_Bits: 352119
m_AttachTransform: {fileID: 0}
m_StartingSelectedInteractable: {fileID: 0}
m_OnHoverEntered:
@ -378600,7 +378803,7 @@ Transform:
m_LocalScale: {x: 7, y: 8, z: 9}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 2
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 4, y: 5, z: 6}
--- !u!1001 &1533851277
PrefabInstance:
@ -390935,7 +391138,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 8
m_RootOrder: 10
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1579330332
PrefabInstance:
@ -394322,7 +394525,7 @@ Transform:
m_LocalScale: {x: 7, y: 8, z: 9}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 4
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 4, y: 5, z: 6}
--- !u!1001 &1594237297
PrefabInstance:
@ -425642,7 +425845,7 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 9
m_RootOrder: 11
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &1725936972
PrefabInstance:
@ -508213,7 +508416,7 @@ Transform:
- {fileID: 302508501}
- {fileID: 1144678325}
m_Father: {fileID: 0}
m_RootOrder: 3
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1001 &2053535007
PrefabInstance:
@ -533950,6 +534153,11 @@ PrefabInstance:
propertyPath: m_LightmapTilingOffset.z
value: 0.007835455
objectReference: {fileID: 0}
- target: {fileID: 4988232506554494578, guid: 78e633dc670e95a47b1b5e23db43f2fc,
type: 3}
propertyPath: m_Convex
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 78e633dc670e95a47b1b5e23db43f2fc, type: 3}
--- !u!1001 &2440816287203417721
@ -550163,29 +550371,34 @@ PrefabInstance:
m_Modifications:
- target: {fileID: 246737398138448136, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_MassScale
value: 1
objectReference: {fileID: 0}
- target: {fileID: 246737398138448136, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_ConnectedAnchor.z
value: -0.35998628
objectReference: {fileID: 0}
- target: {fileID: 246737398138448136, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_Limits.bounceMinVelocity
propertyPath: m_UseMotor
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3084809973600026143, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
- target: {fileID: 246737398138448136, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_Mass
value: 50
propertyPath: m_UseSpring
value: 0
objectReference: {fileID: 0}
- target: {fileID: 246737398138448136, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_Spring.damper
value: 0
objectReference: {fileID: 0}
- target: {fileID: 246737398138448136, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_Spring.spring
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3084809973600026143, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_UseGravity
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3084809973600026143, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_AngularDrag
value: 0.1
objectReference: {fileID: 0}
- target: {fileID: 6123017576758968922, guid: 97ed6aa15bfb0884c87d3fa29f4bcb2d,
type: 3}
propertyPath: m_Name

BIN
Assets/Scenes/Main_scene/ReflectionProbe-2.exr (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,96 @@
fileFormatVersion: 2
guid: 98343f568342ddd48ae93978124ea612
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 1
seamlessCubemap: 1
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 0
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 2
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 100
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Scripts/Bow.meta Normal file
View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 63448578dbbb7944ba1a093819bf4d4c
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

102
Assets/Scripts/Bow/Arrow.cs Normal file
View File

@ -0,0 +1,102 @@
using System;
using System.Collections;
using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit;
namespace Bow
{
public class Arrow : XRGrabInteractable
{
public float speed = 2000.0f;
public Transform tip = null;
private bool _inAir = false;
private Vector3 _lastPosition = Vector3.zero;
private Rigidbody _rigidbody = null;
protected override void Awake()
{
base.Awake();
_rigidbody = GetComponent<Rigidbody>();
}
private void FixedUpdate()
{
if (!_inAir) return;
CheckForCollision();
_lastPosition = tip.position;
}
private void CheckForCollision()
{
RaycastHit hit;
if (Physics.Linecast(_lastPosition, tip.position, out hit, LayerMask.GetMask("Default"),
QueryTriggerInteraction.Ignore))
{
Stop();
}
}
private void Stop()
{
_inAir = false;
SetPhysics(false);
}
public void Release(float pullValue)
{
_inAir = true;
SetPhysics(true);
MaskAndFire(pullValue);
StartCoroutine(RotateWithVelocity());
_lastPosition = tip.position;
}
private void SetPhysics(bool usePhysics)
{
_rigidbody.isKinematic = !usePhysics;
_rigidbody.useGravity = usePhysics;
}
private void MaskAndFire(float power)
{
colliders[0].enabled = false;
interactionLayerMask = 1 << LayerMask.NameToLayer("IgnoreInteraction");
Vector3 force = transform.forward * (power * speed);
_rigidbody.AddForce(force);
}
private IEnumerator RotateWithVelocity()
{
yield return new WaitForFixedUpdate();
while (_inAir)
{
Quaternion newRotation = Quaternion.LookRotation(_rigidbody.velocity, transform.up);
transform.rotation = newRotation;
yield return null;
}
}
public new void OnSelectEntered(XRBaseInteractor interactor)
{
base.OnSelectEntered(interactor);
}
public new void OnSelectExited(XRBaseInteractor interactor)
{
base.OnSelectExited(interactor);
}
public new void OnSelectExiting(XRBaseInteractor interactor)
{
base.OnSelectExiting(interactor);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 4efde785f55475d4faf016df659306fa
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

34
Assets/Scripts/Bow/Bow.cs Normal file
View File

@ -0,0 +1,34 @@
using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit;
namespace Bow
{
public class Bow : XRGrabInteractable
{
private Animator _animator = null;
private Puller _puller = null;
private static readonly int Blend = Animator.StringToHash("Blend");
protected override void Awake()
{
base.Awake();
_animator = GetComponent<Animator>();
_puller = GetComponentInChildren<Puller>();
}
public override void ProcessInteractable(XRInteractionUpdateOrder.UpdatePhase updatePhase)
{
base.ProcessInteractable(updatePhase);
if (updatePhase != XRInteractionUpdateOrder.UpdatePhase.Dynamic) return;
if (!isSelected) return;
AnimateBow(_puller.PullAmount);
}
private void AnimateBow(float value)
{
_animator.SetFloat(Blend, value);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: bed6d8822a925ec43a36f07d632808d7
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,69 @@
using UnityEngine.XR.Interaction.Toolkit;
namespace Bow
{
public class Notch : XRSocketInteractor
{
private Puller _puller = null;
private Arrow _currentArrow = null;
protected override void Awake()
{
base.Awake();
_puller = GetComponent<Puller>();
}
protected override void OnEnable()
{
base.OnEnable();
_puller.onSelectExited.AddListener(TryToReleaseArrow);
}
protected override void OnDisable()
{
base.OnDisable();
_puller.onSelectExited.RemoveListener(TryToReleaseArrow);
}
protected override void OnSelectEntered(XRBaseInteractable interactable)
{
base.OnSelectEntered(interactable);
StoreArrow(interactable);
}
private void StoreArrow(XRBaseInteractable interactable)
{
if (interactable is Arrow arrow)
{
_currentArrow = arrow;
}
}
private void TryToReleaseArrow(XRBaseInteractor interactor)
{
if (!_currentArrow) return;
ForceDeselect();
ReleaseArrow();
}
private void ForceDeselect()
{
_currentArrow.OnSelectExiting(this);
_currentArrow.OnSelectExited(this);
base.OnSelectExiting(_currentArrow);
base.OnSelectExited(_currentArrow);
}
private void ReleaseArrow()
{
_currentArrow.Release(_puller.PullAmount);
_currentArrow = null;
}
public override XRBaseInteractable.MovementType? selectedInteractableMovementTypeOverride =>
XRBaseInteractable.MovementType.Instantaneous;
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 477605e3da91f604aaf76799722140f9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,52 @@
using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit;
namespace Bow
{
public class Puller : XRBaseInteractable
{
public float PullAmount { get; private set; } = 0.0f;
public Transform start = null;
public Transform end = null;
private XRBaseInteractor _pullingInteractor = null;
protected override void OnSelectEntered(XRBaseInteractor interactor)
{
base.OnSelectEntered(interactor);
_pullingInteractor = interactor;
}
protected override void OnSelectExited(XRBaseInteractor interactor)
{
base.OnSelectExited(interactor);
_pullingInteractor = null;
PullAmount = 0.0f;
}
public override void ProcessInteractable(XRInteractionUpdateOrder.UpdatePhase updatePhase)
{
base.ProcessInteractable(updatePhase);
if (updatePhase != XRInteractionUpdateOrder.UpdatePhase.Dynamic) return;
if (!isSelected) return;
Vector3 pullPosition = _pullingInteractor.transform.position;
PullAmount = CalculatePull(pullPosition);
}
private float CalculatePull(Vector3 pullPosition)
{
var startPosition = start.position;
Vector3 pullDirection = pullPosition - startPosition;
Vector3 targetDirection = end.position - startPosition;
float maxLength = targetDirection.magnitude;
targetDirection.Normalize();
float pullValue = Vector3.Dot(pullDirection, targetDirection) / maxLength;
return Mathf.Clamp(pullValue, 0, 1);
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: d5bad711d8ab0cb4db20eab960967d66
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,51 @@
using UnityEngine;
using UnityEngine.XR.Interaction.Toolkit;
namespace Bow
{
public class Quiver : XRSocketInteractor
{
public GameObject arrowPrefab = null;
private Vector3 _attachOffset = Vector3.zero;
protected override void Awake()
{
base.Awake();
CreateAndSelectArrow();
SetAttachOffset();
}
protected override void OnSelectExited(XRBaseInteractable interactable)
{
base.OnSelectExited(interactable);
CreateAndSelectArrow();
}
private void CreateAndSelectArrow()
{
Arrow arrow = CreateArrow();
interactionManager.ForceSelect(this, arrow);
}
private Arrow CreateArrow()
{
var transform1 = transform;
GameObject arrowObject = Instantiate(arrowPrefab, transform1.position - _attachOffset, transform1.rotation);
return arrowObject.GetComponent<Arrow>();
}
private void SelectArrow(Arrow arrow)
{
OnSelectEntered(arrow);
arrow.OnSelectEntered(this);
}
private void SetAttachOffset()
{
if (selectTarget is XRGrabInteractable interactable)
{
_attachOffset = interactable.attachTransform.localPosition;
}
}
}
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 8e5f8d9f9b7680c4ea92da637174b928
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -196,7 +196,7 @@
"depth": 1,
"source": "registry",
"dependencies": {
"com.unity.subsystemregistration": "1.0.6"
"com.unity.subsystemregistration": "1.0.5"
},
"url": "https://packages.unity.com"
},

View File

@ -1,30 +1,37 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!55 &1
PhysicsManager:
m_ObjectHideFlags: 0
serializedVersion: 8
m_Gravity: {x: 0, y: -9.81, z: 0}
m_DefaultMaterial: {fileID: 0}
m_BounceThreshold: 2
m_SleepThreshold: 0.005
m_DefaultContactOffset: 0.01
m_DefaultSolverIterations: 6
m_DefaultSolverVelocityIterations: 1
m_QueriesHitBackfaces: 0
m_QueriesHitTriggers: 1
m_EnableAdaptiveForce: 0
m_ClothInterCollisionDistance: 0
m_ClothInterCollisionStiffness: 0
m_ContactsGeneration: 1
m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
m_AutoSimulation: 1
m_AutoSyncTransforms: 0
m_ReuseCollisionCallbacks: 1
m_ClothInterCollisionSettingsToggle: 0
m_ContactPairsMode: 0
m_BroadphaseType: 0
m_WorldBounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 250, y: 250, z: 250}
m_WorldSubdivisions: 8
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!55 &1
PhysicsManager:
m_ObjectHideFlags: 0
serializedVersion: 13
m_Gravity: {x: 0, y: -9.81, z: 0}
m_DefaultMaterial: {fileID: 0}
m_BounceThreshold: 2
m_DefaultMaxDepenetrationVelocity: 10
m_SleepThreshold: 0.005
m_DefaultContactOffset: 0.01
m_DefaultSolverIterations: 6
m_DefaultSolverVelocityIterations: 1
m_QueriesHitBackfaces: 0
m_QueriesHitTriggers: 1
m_EnableAdaptiveForce: 0
m_ClothInterCollisionDistance: 0
m_ClothInterCollisionStiffness: 0
m_ContactsGeneration: 1
m_LayerCollisionMatrix: ffffff7fffffff7fffffffffffffffffffffff7fffffff7fffffff7f7fffff7fffffff7fffffff7fffffff7fffffff7fffffff7fffffffffffffff7fffffffffffffff7fffffffffffffff7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0ca0faff
m_AutoSimulation: 1
m_AutoSyncTransforms: 0
m_ReuseCollisionCallbacks: 1
m_ClothInterCollisionSettingsToggle: 0
m_ClothGravity: {x: 0, y: -9.81, z: 0}
m_ContactPairsMode: 0
m_BroadphaseType: 0
m_WorldBounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 250, y: 250, z: 250}
m_WorldSubdivisions: 8
m_FrictionType: 0
m_EnableEnhancedDeterminism: 0
m_EnableUnifiedHeightmaps: 1
m_SolverType: 0
m_DefaultMaxAngularSpeed: 7

View File

@ -12,7 +12,7 @@ TagManager:
- Water
- UI
- Teleport Area
-
- IgnoreInteraction
- PostProcessing
- Ground(Floor0)
- Floor1
@ -36,7 +36,7 @@ TagManager:
-
-
-
-
- PlayerOnly
m_SortingLayers:
- name: Default
uniqueID: 0