portal interaction and VR body

This commit is contained in:
2022-03-24 18:02:34 +02:00
parent 84e21c94f3
commit 0cb487d781
1290 changed files with 402732 additions and 1745 deletions

View File

@@ -0,0 +1,11 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!319 &31900000
AvatarMask:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: PlayerAvatarMask
m_Mask: 01000000000000000000000001000000010000000000000000000000000000000000000001000000010000000100000001000000
m_Elements: []

View File

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

Binary file not shown.

View File

@@ -0,0 +1,932 @@
fileFormatVersion: 2
guid: e4d9aba39a6c55549a035a2e6752537b
ModelImporter:
serializedVersion: 21202
internalIDToNameTable:
- first:
74: -203655887218126122
second: Walking
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 1
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: Walking
takeName: mixamo.com
internalID: 0
firstFrame: 0
lastFrame: 31
wrapMode: 0
orientationOffsetY: 0
level: 0
cycleOffset: 0
loop: 0
hasAdditiveReferencePose: 0
loopTime: 1
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: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 0
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human:
- boneName: mixamorig:Hips
humanName: Hips
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftUpLeg
humanName: LeftUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightUpLeg
humanName: RightUpperLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftLeg
humanName: LeftLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightLeg
humanName: RightLowerLeg
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftFoot
humanName: LeftFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightFoot
humanName: RightFoot
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine
humanName: Spine
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine1
humanName: Chest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Neck
humanName: Neck
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Head
humanName: Head
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftShoulder
humanName: LeftShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightShoulder
humanName: RightShoulder
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftArm
humanName: LeftUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightArm
humanName: RightUpperArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftForeArm
humanName: LeftLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightForeArm
humanName: RightLowerArm
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHand
humanName: LeftHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHand
humanName: RightHand
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftToeBase
humanName: LeftToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightToeBase
humanName: RightToes
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandThumb1
humanName: Left Thumb Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandThumb2
humanName: Left Thumb Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandThumb3
humanName: Left Thumb Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandIndex1
humanName: Left Index Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandIndex2
humanName: Left Index Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandIndex3
humanName: Left Index Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandMiddle1
humanName: Left Middle Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandMiddle2
humanName: Left Middle Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandMiddle3
humanName: Left Middle Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandRing1
humanName: Left Ring Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandRing2
humanName: Left Ring Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandRing3
humanName: Left Ring Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandPinky1
humanName: Left Little Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandPinky2
humanName: Left Little Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:LeftHandPinky3
humanName: Left Little Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandThumb1
humanName: Right Thumb Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandThumb2
humanName: Right Thumb Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandThumb3
humanName: Right Thumb Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandIndex1
humanName: Right Index Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandIndex2
humanName: Right Index Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandIndex3
humanName: Right Index Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandMiddle1
humanName: Right Middle Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandMiddle2
humanName: Right Middle Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandMiddle3
humanName: Right Middle Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandRing1
humanName: Right Ring Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandRing2
humanName: Right Ring Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandRing3
humanName: Right Ring Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandPinky1
humanName: Right Little Proximal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandPinky2
humanName: Right Little Intermediate
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:RightHandPinky3
humanName: Right Little Distal
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
- boneName: mixamorig:Spine2
humanName: UpperChest
limit:
min: {x: 0, y: 0, z: 0}
max: {x: 0, y: 0, z: 0}
value: {x: 0, y: 0, z: 0}
length: 0
modified: 0
skeleton:
- name: xbot@Walking(Clone)
parentName:
position: {x: 0, y: 0, z: 0}
rotation: {x: 0, y: 0, z: 0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Beta_Joints
parentName: xbot@Walking(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: Beta_Surface
parentName: xbot@Walking(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:Hips
parentName: xbot@Walking(Clone)
position: {x: -0.00031294674, y: 1.0720446, z: 0.015364668}
rotation: {x: 1.8528844e-18, y: -0.0000000029103826, z: 8.185451e-10, w: 1}
scale: {x: 0.99999994, y: 1, z: 1}
- name: mixamorig:Spine
parentName: mixamorig:Hips
position: {x: -0.00000009234152, y: 0.10181588, z: 0.0013152092}
rotation: {x: -1.5881857e-18, y: -4.440892e-16, z: -0.0000000012278177, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:Spine1
parentName: mixamorig:Spine
position: {x: -0.000000002519403, y: 0.10083451, z: -0.010008043}
rotation: {x: 0.0000000029103835, y: 3.5734202e-18, z: -5.9117156e-10, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:Spine2
parentName: mixamorig:Spine1
position: {x: -0.0000000034574863, y: 0.09100011, z: -0.013734171}
rotation: {x: -0.000000005820766, y: 0.0000000058207665, z: 0.000000001546141,
w: 1}
scale: {x: 1, y: 0.99999994, z: 0.99999994}
- name: mixamorig:Neck
parentName: mixamorig:Spine2
position: {x: -0.0000000063342855, y: 0.16671668, z: -0.025161678}
rotation: {x: 0.000000004365574, y: 0.0000000029103808, z: -7.275957e-10, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:Head
parentName: mixamorig:Neck
position: {x: 0.0000000042423185, y: 0.09617875, z: 0.016850075}
rotation: {x: 0.000000001455192, y: -0.0000000050931686, z: 4.0927262e-10, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:HeadTop_End
parentName: mixamorig:Head
position: {x: 0.0000000065082415, y: 0.17815155, z: 0.025849855}
rotation: {x: -0, y: -0, z: 7.411538e-18, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:LeftEye
parentName: mixamorig:Head
position: {x: -0.030675607, y: 0.06409507, z: 0.09283554}
rotation: {x: -0, y: -0, z: 7.411538e-18, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:RightEye
parentName: mixamorig:Head
position: {x: 0.030675504, y: 0.064095, z: 0.09283547}
rotation: {x: -0, y: -0, z: 7.411538e-18, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:LeftShoulder
parentName: mixamorig:Spine2
position: {x: -0.045704465, y: 0.10945985, z: -0.02627988}
rotation: {x: -0.000000002910383, y: 0.0000000029103826, z: 0.0000000038198777,
w: 1}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:LeftArm
parentName: mixamorig:LeftShoulder
position: {x: -0.1059237, y: -0.005245829, z: -0.0223212}
rotation: {x: 0.000000007275957, y: -0.000000005820766, z: 0.0000000016370896,
w: 1}
scale: {x: 1.0000001, y: 1.0000001, z: 0.99999994}
- name: mixamorig:LeftForeArm
parentName: mixamorig:LeftArm
position: {x: -0.2784152, y: -0.0000008942865, z: 0.0000003745891}
rotation: {x: -0.000000013096724, y: -0.000000011641532, z: 0.000000005638868,
w: 1}
scale: {x: 1.0000001, y: 1.0000001, z: 1.0000001}
- name: mixamorig:LeftHand
parentName: mixamorig:LeftForeArm
position: {x: -0.2832884, y: -0.00000017440718, z: 0.00000037804523}
rotation: {x: 0.000000023283064, y: -0, z: -0.000000023283064, w: 1}
scale: {x: 1.0000001, y: 1.0000001, z: 1.0000001}
- name: mixamorig:LeftHandThumb1
parentName: mixamorig:LeftHand
position: {x: -0.024661401, y: -0.015750492, z: 0.026824135}
rotation: {x: -0.11863641, y: 0.08685275, z: -0.11863632, w: 0.9819916}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:LeftHandThumb2
parentName: mixamorig:LeftHandThumb1
position: {x: -0.032298036, y: -0.018646907, z: 0.018646812}
rotation: {x: -0.000000023283064, y: -0.000000034924597, z: -1.4302795e-15,
w: 1}
scale: {x: 1.0000002, y: 1.0000002, z: 1.0000001}
- name: mixamorig:LeftHandThumb3
parentName: mixamorig:LeftHandThumb2
position: {x: -0.02652565, y: -0.015314929, z: 0.015314716}
rotation: {x: 0.000000046566132, y: 0.000000023283064, z: 0.00000004656612,
w: 1}
scale: {x: 1, y: 1, z: 0.9999999}
- name: mixamorig:LeftHandThumb4
parentName: mixamorig:LeftHandThumb3
position: {x: -0.019545669, y: -0.0112850005, z: 0.011284921}
rotation: {x: -0, y: -0, z: -1.0842023e-15, w: 1}
scale: {x: 0.99999994, y: 1, z: 1}
- name: mixamorig:LeftHandIndex1
parentName: mixamorig:LeftHand
position: {x: -0.09109301, y: -0.005170834, z: 0.02260073}
rotation: {x: -0.000000011641532, y: 1.5053064e-15, z: 3.5527137e-15, w: 1}
scale: {x: 1, y: 1.0000001, z: 1.0000001}
- name: mixamorig:LeftHandIndex2
parentName: mixamorig:LeftHandIndex1
position: {x: -0.036764093, y: -0.00000006939138, z: 0.00000029242517}
rotation: {x: -0.000000023283064, y: -0.000000011641534, z: 0.00000002328306,
w: 1}
scale: {x: 1.0000005, y: 1.0000002, z: 1.0000002}
- name: mixamorig:LeftHandIndex3
parentName: mixamorig:LeftHandIndex2
position: {x: -0.028830625, y: 0.00000038511968, z: -0.00000042764816}
rotation: {x: -0, y: -0, z: -2.710506e-16, w: 1}
scale: {x: 1.0000005, y: 1.0000005, z: 1.0000002}
- name: mixamorig:LeftHandIndex4
parentName: mixamorig:LeftHandIndex3
position: {x: -0.023927199, y: 0.00000037025907, z: 0.00000033554434}
rotation: {x: -0, y: -0, z: -0, w: 1}
scale: {x: 1.0000005, y: 1.0000005, z: 1.0000002}
- name: mixamorig:LeftHandMiddle1
parentName: mixamorig:LeftHand
position: {x: -0.095334016, y: -0.00000033924047, z: 0.00000013937026}
rotation: {x: -0.000000034924597, y: 0.000000045201887, z: 0.00000001555236,
w: 1}
scale: {x: 1.0000005, y: 1.0000004, z: 1.0000001}
- name: mixamorig:LeftHandMiddle2
parentName: mixamorig:LeftHandMiddle1
position: {x: -0.036982365, y: 0.00000001961359, z: 0.00000017916967}
rotation: {x: 0.000000040745363, y: -0.000000056843415, z: -0.00000000682121,
w: 1}
scale: {x: 1.0000004, y: 1.0000008, z: 1.0000001}
- name: mixamorig:LeftHandMiddle3
parentName: mixamorig:LeftHandMiddle2
position: {x: -0.029509215, y: -0.00000039376084, z: 0.0000001644796}
rotation: {x: -0.000000008731153, y: 0.00000002328306, z: 0.0000000029103826,
w: 1}
scale: {x: 1.0000004, y: 1.0000005, z: 1.0000001}
- name: mixamorig:LeftHandMiddle4
parentName: mixamorig:LeftHandMiddle3
position: {x: -0.028339025, y: -0.0000003893482, z: -0.00000009504223}
rotation: {x: -0, y: -0, z: -1.8756645e-17, w: 1}
scale: {x: 0.9999998, y: 0.9999997, z: 1}
- name: mixamorig:LeftHandRing1
parentName: mixamorig:LeftHand
position: {x: -0.091045275, y: -0.00043939505, z: -0.018650847}
rotation: {x: -0.000000011641532, y: 0.0000000021827868, z: -0.0000000050931703,
w: 1}
scale: {x: 1.0000001, y: 1.0000002, z: 1.0000001}
- name: mixamorig:LeftHandRing2
parentName: mixamorig:LeftHandRing1
position: {x: -0.031540267, y: -0.00000006553468, z: 0.00000010425744}
rotation: {x: 0.000000052386895, y: -0.000000013824318, z: -7.2759543e-10, w: 1}
scale: {x: 1.0000006, y: 1.0000004, z: 1}
- name: mixamorig:LeftHandRing3
parentName: mixamorig:LeftHandRing2
position: {x: -0.029376723, y: -0.00000045458617, z: -0.00000006864757}
rotation: {x: -0, y: -0, z: 2.568098e-18, w: 1}
scale: {x: 1.0000005, y: 1.0000006, z: 1.0000001}
- name: mixamorig:LeftHandRing4
parentName: mixamorig:LeftHandRing3
position: {x: -0.026474526, y: -0.00000049804413, z: 7.0705153e-10}
rotation: {x: -0, y: -0, z: -0, w: 1}
scale: {x: 1.0000004, y: 1.0000005, z: 1.0000001}
- name: mixamorig:LeftHandPinky1
parentName: mixamorig:LeftHand
position: {x: -0.08077778, y: -0.004886682, z: -0.03806067}
rotation: {x: -0.000000034924597, y: -0.000000008731152, z: -0.0000000058207696,
w: 1}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:LeftHandPinky2
parentName: mixamorig:LeftHandPinky1
position: {x: -0.036000345, y: -0.000000022522151, z: -0.00000026238794}
rotation: {x: 0.000000023283064, y: -0.0000000029103813, z: 0.000000029103834,
w: 1}
scale: {x: 1.0000002, y: 1.0000004, z: 1}
- name: mixamorig:LeftHandPinky3
parentName: mixamorig:LeftHandPinky2
position: {x: -0.021142116, y: 0.00000019538281, z: -0.00000002864415}
rotation: {x: -0, y: -0, z: 6.7762596e-17, w: 1}
scale: {x: 1.0000002, y: 1.0000004, z: 1}
- name: mixamorig:LeftHandPinky4
parentName: mixamorig:LeftHandPinky3
position: {x: -0.019756826, y: 0.00000012405657, z: -0.00000044301405}
rotation: {x: -0, y: -0, z: -0, w: 1}
scale: {x: 1.0000002, y: 1.0000002, z: 1}
- name: mixamorig:RightShoulder
parentName: mixamorig:Spine2
position: {x: 0.045699697, y: 0.10946176, z: -0.026280174}
rotation: {x: 0.0000000029103826, y: 0.0000000029103808, z: -0.000000008549249,
w: 1}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:RightArm
parentName: mixamorig:RightShoulder
position: {x: 0.105928436, y: -0.0052479836, z: -0.022320986}
rotation: {x: -0, y: -0.00000001164153, z: 0.0000000025465843, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:RightForeArm
parentName: mixamorig:RightArm
position: {x: 0.2784152, y: -0.00000033079218, z: 0.000000116763104}
rotation: {x: -0.000000017462296, y: 0.000000011641532, z: 0.000000008367351,
w: 1}
scale: {x: 1.0000001, y: 1.0000001, z: 1}
- name: mixamorig:RightHand
parentName: mixamorig:RightForeArm
position: {x: 0.2832884, y: -0.0000000015814171, z: 0.00000055816014}
rotation: {x: 0.000000017462296, y: -0.000000005820766, z: -0.0000000145519135,
w: 1}
scale: {x: 1.0000004, y: 1.0000002, z: 1}
- name: mixamorig:RightHandPinky1
parentName: mixamorig:RightHand
position: {x: 0.080766745, y: -0.0048845927, z: -0.038060103}
rotation: {x: -0, y: -0.0000000043655746, z: 0.000000012369126, w: 1}
scale: {x: 0.99999976, y: 1, z: 0.9999999}
- name: mixamorig:RightHandPinky2
parentName: mixamorig:RightHandPinky1
position: {x: 0.036000345, y: 0.00000039676655, z: 0.0000005081442}
rotation: {x: 0.0000000058207674, y: -0.000000018917493, z: -0.000000026921047,
w: 1}
scale: {x: 1.000001, y: 1.0000005, z: 1}
- name: mixamorig:RightHandPinky3
parentName: mixamorig:RightHandPinky2
position: {x: 0.021142116, y: 0.00000015137925, z: 0.00000014793768}
rotation: {x: -0, y: -0, z: 1.1011433e-16, w: 1}
scale: {x: 1, y: 1.0000001, z: 0.99999994}
- name: mixamorig:RightHandPinky4
parentName: mixamorig:RightHandPinky3
position: {x: 0.019756826, y: -0.00000018521958, z: -0.000000009839841}
rotation: {x: -0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1.0000001, z: 0.9999999}
- name: mixamorig:RightHandRing1
parentName: mixamorig:RightHand
position: {x: 0.09103588, y: -0.00043914348, z: -0.018650724}
rotation: {x: 0.000000046566136, y: 0.000000014551919, z: 0.000000043655746,
w: 1}
scale: {x: 1.0000001, y: 0.9999999, z: 0.99999994}
- name: mixamorig:RightHandRing2
parentName: mixamorig:RightHandRing1
position: {x: 0.031540267, y: 0.00000023997296, z: 0.0000004885121}
rotation: {x: -0.000000037834987, y: 0.000000008731146, z: -0.000000043655746,
w: 1}
scale: {x: 0.9999998, y: 1.0000002, z: 1}
- name: mixamorig:RightHandRing3
parentName: mixamorig:RightHandRing2
position: {x: 0.029376723, y: -0.00000041600654, z: -0.00000039660634}
rotation: {x: -0, y: -0, z: 3.3034277e-16, w: 1}
scale: {x: 1.0000004, y: 1.0000002, z: 0.9999999}
- name: mixamorig:RightHandRing4
parentName: mixamorig:RightHandRing3
position: {x: 0.026474526, y: 0.00000024608212, z: -0.000000022949234}
rotation: {x: -0, y: -0, z: -0, w: 1}
scale: {x: 1.0000002, y: 1.0000002, z: 0.9999999}
- name: mixamorig:RightHandMiddle1
parentName: mixamorig:RightHand
position: {x: 0.09532503, y: -0.00000016312302, z: 0.00000016791842}
rotation: {x: -0, y: 0.000000011641534, z: 0.0000000029103804, w: 1}
scale: {x: 0.9999999, y: 1, z: 0.9999999}
- name: mixamorig:RightHandMiddle2
parentName: mixamorig:RightHandMiddle1
position: {x: 0.036982365, y: 0.00000015066959, z: -0.00000022545524}
rotation: {x: -0.0000000050931708, y: -0.000000011641534, z: 0.00000001891749,
w: 1}
scale: {x: 1.0000005, y: 1.0000002, z: 1}
- name: mixamorig:RightHandMiddle3
parentName: mixamorig:RightHandMiddle2
position: {x: 0.029509215, y: -0.000000003113245, z: -0.0000000030340255}
rotation: {x: 0.0000000021827873, y: -0.000000011641532, z: -0.0000000043655737,
w: 1}
scale: {x: 1.0000005, y: 1.0000004, z: 1}
- name: mixamorig:RightHandMiddle4
parentName: mixamorig:RightHandMiddle3
position: {x: 0.028339025, y: 0.00000008053241, z: 0.00000053787704}
rotation: {x: -0, y: -0, z: 2.5410988e-17, w: 1}
scale: {x: 1.0000004, y: 1.0000004, z: 1}
- name: mixamorig:RightHandIndex1
parentName: mixamorig:RightHand
position: {x: 0.09108281, y: -0.0051678894, z: 0.022601163}
rotation: {x: -0.00000002328306, y: -0.000000002910383, z: 0.000000007275956,
w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:RightHandIndex2
parentName: mixamorig:RightHandIndex1
position: {x: 0.036764093, y: 0.00000019227156, z: 0.0000003235567}
rotation: {x: 0.000000011641529, y: 0.0000000029103828, z: 0.0000000014551915,
w: 1}
scale: {x: 1.0000001, y: 1.0000001, z: 1.0000001}
- name: mixamorig:RightHandIndex3
parentName: mixamorig:RightHandIndex2
position: {x: 0.028830625, y: -0.00000049601215, z: 0.00000040448975}
rotation: {x: 0.000000005820766, y: -0, z: -3.3881305e-17, w: 1}
scale: {x: 1.0000001, y: 1, z: 1}
- name: mixamorig:RightHandIndex4
parentName: mixamorig:RightHandIndex3
position: {x: 0.023927199, y: 0.000000268147, z: 0.00000028020133}
rotation: {x: -0, y: -0, z: -0, w: 1}
scale: {x: 1.0000001, y: 1, z: 1}
- name: mixamorig:RightHandThumb1
parentName: mixamorig:RightHand
position: {x: 0.024648061, y: -0.015727142, z: 0.026826264}
rotation: {x: -0.11863686, y: -0.086847745, z: 0.11863694, w: 0.9819919}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:RightHandThumb2
parentName: mixamorig:RightHandThumb1
position: {x: 0.03229772, y: -0.018647088, z: 0.018647185}
rotation: {x: -3.5527137e-15, y: 4.7433845e-16, z: -0.000000020372681, w: 1}
scale: {x: 1.0000001, y: 1, z: 1.0000001}
- name: mixamorig:RightHandThumb3
parentName: mixamorig:RightHandThumb2
position: {x: 0.02652605, y: -0.015314492, z: 0.015314456}
rotation: {x: 0.000000046566132, y: 0.0000000058207683, z: 0.000000011641534,
w: 1}
scale: {x: 1.0000001, y: 1, z: 1.0000001}
- name: mixamorig:RightHandThumb4
parentName: mixamorig:RightHandThumb3
position: {x: 0.019545805, y: -0.011284617, z: 0.01128507}
rotation: {x: -0, y: -0, z: -2.7105068e-16, w: 1}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:LeftUpLeg
parentName: mixamorig:Hips
position: {x: -0.082077816, y: -0.06751714, z: -0.015995556}
rotation: {x: -0.00000001164153, y: 0.0000000029103826, z: -0.0000000066393113,
w: 1}
scale: {x: 1, y: 1.0000001, z: 1}
- name: mixamorig:LeftLeg
parentName: mixamorig:LeftUpLeg
position: {x: 0.000000004110158, y: -0.44370472, z: 0.0028464263}
rotation: {x: -0.000000011641534, y: 0.0000000058207665, z: 0.000000011641532,
w: 1}
scale: {x: 0.99999994, y: 0.9999999, z: 1.0000001}
- name: mixamorig:LeftFoot
parentName: mixamorig:LeftLeg
position: {x: -0.0000000047163935, y: -0.44427872, z: -0.029821906}
rotation: {x: -0, y: -1.7763568e-15, z: -8.204158e-16, w: 1}
scale: {x: 0.9999999, y: 1.0000001, z: 1}
- name: mixamorig:LeftToeBase
parentName: mixamorig:LeftFoot
position: {x: 0.000000029609879, y: -0.087286696, z: 0.1071056}
rotation: {x: 0.00000004656613, y: -0.000000005820765, z: -0.0000000029103822,
w: 1}
scale: {x: 0.9999999, y: 1.0000001, z: 1}
- name: mixamorig:LeftToe_End
parentName: mixamorig:LeftToeBase
position: {x: 0.000000025080618, y: -0.0000067668298, z: 0.09278136}
rotation: {x: -0, y: -0, z: 4.9005885e-17, w: 1}
scale: {x: 1, y: 0.9999999, z: 1.0000001}
- name: mixamorig:RightUpLeg
parentName: mixamorig:Hips
position: {x: 0.08207796, y: -0.06751662, z: -0.015995594}
rotation: {x: 2.5940384e-17, y: 0.0000000058207656, z: 0.000000004274625, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: mixamorig:RightLeg
parentName: mixamorig:RightUpLeg
position: {x: -8.435572e-10, y: -0.44370535, z: 0.0028615638}
rotation: {x: 0.000000005820766, y: -0.000000005820767, z: -0.0000000036379784,
w: 1}
scale: {x: 1.0000001, y: 1, z: 1}
- name: mixamorig:RightFoot
parentName: mixamorig:RightLeg
position: {x: -0.000000009644582, y: -0.4442773, z: -0.02983789}
rotation: {x: -0.000000005820766, y: 0.000000002910384, z: -0.0000000015042194,
w: 1}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:RightToeBase
parentName: mixamorig:RightFoot
position: {x: 0.00000002360438, y: -0.08728669, z: 0.107105605}
rotation: {x: -0.000000002910383, y: 0.0000000029103826, z: -3.147704e-10, w: 1}
scale: {x: 1, y: 1, z: 1.0000001}
- name: mixamorig:RightToe_End
parentName: mixamorig:RightToeBase
position: {x: 0.000000020942645, y: -0.000006763694, z: 0.0927812}
rotation: {x: -0, y: -0, z: 8.470328e-18, w: 1}
scale: {x: 0.99999994, y: 1, z: 1}
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 1
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 3
humanoidOversampling: 1
avatarSetup: 1
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

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

View File

@@ -0,0 +1,124 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-6194818402207941224
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: 5
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: IceBolt
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
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: c9831d6ac7fd7a64aa2d835cfad3382f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
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}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _Surface: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6620a67f9052d0d48aecf44fe68eb791
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 KiB

View File

@@ -0,0 +1,98 @@
fileFormatVersion: 2
guid: c9831d6ac7fd7a64aa2d835cfad3382f
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
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
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: 1
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: 50
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: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,117 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &7910234761917578467
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 5711833321875726579}
- component: {fileID: 5287426203588238781}
- component: {fileID: 9222134615312086062}
m_Layer: 0
m_Name: ProjectileLight
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &5711833321875726579
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7910234761917578467}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!108 &5287426203588238781
Light:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7910234761917578467}
m_Enabled: 1
serializedVersion: 10
m_Type: 2
m_Shape: 0
m_Color: {r: 0.14324492, g: 0.43347722, b: 0.8207547, a: 0.90588236}
m_Intensity: 2
m_Range: 10
m_SpotAngle: 30
m_InnerSpotAngle: 21.80208
m_CookieSize: 10
m_Shadows:
m_Type: 0
m_Resolution: -1
m_CustomResolution: -1
m_Strength: 1
m_Bias: 0.05
m_NormalBias: 0.4
m_NearPlane: 0.2
m_CullingMatrixOverride:
e00: 1
e01: 0
e02: 0
e03: 0
e10: 0
e11: 1
e12: 0
e13: 0
e20: 0
e21: 0
e22: 1
e23: 0
e30: 0
e31: 0
e32: 0
e33: 1
m_UseCullingMatrixOverride: 0
m_Cookie: {fileID: 0}
m_DrawHalo: 0
m_Flare: {fileID: 0}
m_RenderMode: 0
m_CullingMask:
serializedVersion: 2
m_Bits: 4294967295
m_RenderingLayerMask: 1
m_Lightmapping: 4
m_LightShadowCasterMode: 0
m_AreaSize: {x: 1, y: 1}
m_BounceIntensity: 1
m_ColorTemperature: 6570
m_UseColorTemperature: 0
m_BoundingSphereOverride: {x: 0, y: 0, z: 0, w: 0}
m_UseBoundingSphereOverride: 0
m_UseViewFrustumForShadowCasterCull: 1
m_ShadowRadius: 0
m_ShadowAngle: 0
--- !u!114 &9222134615312086062
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7910234761917578467}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 474bcb49853aa07438625e644c072ee6, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Version: 1
m_UsePipelineSettings: 1
m_AdditionalLightsShadowResolutionTier: 2
m_LightLayerMask: 1
m_CustomShadowLayers: 0
m_ShadowLayerMask: 1
m_LightCookieSize: {x: 1, y: 1}
m_LightCookieOffset: {x: 0, y: 0}

View File

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

File diff suppressed because it is too large Load Diff

View File

@@ -5,113 +5,106 @@ using UnityEngine;
public class ActionGestureInteraction : MonoBehaviour
{
public List<GameObject> objects;
public Camera playerCamera;
private Vector3 destination;
private Transform rightHandTransform;
public Transform rightHandTransform;
private GameObject player;
/**public int blinkUses;
public float blinkCooldown, blinkDistance, blinkSpeed, blinkDestinationMultiplier;
public LayerMask blinkLayerMask;**/
public float projectileSpeed = 30;
void Start()
{
player = GameObject.Find("XR Origin");
rightHandTransform = player.transform.Find("Camera Offset").Find("RightHand Controller").transform;
player = gameObject;
}
public void PerformAction(string action)
{
//Debug.Log(action);
//if (action == "Blink")
//{
//BlinkCast(); [DEPRECATED]
//}
//else
//{
Debug.Log(action);
if (action == "Portal")
{
// Raycast to find portal were looking at.
var nearestPortal = FindPortalInFront();
Debug.Log(nearestPortal);
EnableDisablePortal(nearestPortal);
}
else
{
foreach (var item in objects)
{
if (item.name == action)
if (item.name == action && action == "IceBolt")
{
Instantiate(item, rightHandTransform.position, Quaternion.identity);
ShootProjectile();
InstantiateIceBolt(item);
}
}
//}
}
/**
int maxUses;
float cooldownTimer;
bool blinking = false;
Vector3 destination;
**/
private void Update()
{
// Blink cooldown action;
}
/** [DEPRECATED]
void BlinkCast()
{
Transform cameraTransform = Camera.main.transform;
Transform playerTransform = player.transform;
ParticleSystem blinkTrail = player.transform.Find("BlinkTrail").GetComponent<ParticleSystem>();
maxUses = blinkUses;
cooldownTimer = blinkCooldown;
Blink();
if (blinkUses < maxUses)
{
if (cooldownTimer > 0)
{
cooldownTimer -= Time.deltaTime;
}
else
{
blinkUses += 1;
cooldownTimer = blinkCooldown;
}
if (blinking)
{
var dist = Vector3.Distance(playerTransform.position, destination);
if (dist > 0.5f)
if (item.name == action && action == "IceWall")
{
Debug.Log(Time.deltaTime * blinkSpeed);
playerTransform.position = Vector3.MoveTowards(playerTransform.position, destination, blinkDistance);
// Make ice wall appear from below to block incoming projectiles
}
}
}
}
void EnableDisablePortal(GameObject portal)
{
// Did the raycast catch a portal in front of us?
if (portal != null)
{
var distance = Vector3.Distance(portal.transform.position, this.transform.position);
Debug.Log(distance);
// Is the portal within a reasonable distance?
if (distance <= 10.0f)
{
var portalVFX = portal.transform.Find("PortalFX");
var portalTrigger = portal.transform.Find("Portal");
// if the nearest portal is already enabled, then disable, else enable.
if (portalVFX.gameObject.activeInHierarchy)
{
portalVFX.gameObject.SetActive(false);
portalTrigger.gameObject.GetComponent<PortalTeleporter>().enabled = false;
}
else
{
blinking = false;
portalVFX.gameObject.SetActive(true);
portalTrigger.gameObject.GetComponent<PortalTeleporter>().enabled =true;
}
}
}
void Blink()
{
if (blinkUses > 0)
{
blinkUses -= 1;
blinkTrail.Play();
//RaycastHit hit;
if (Physics.Raycast(playerTransform.position, playerTransform.forward, out hit, blinkDistance, blinkLayerMask))
{
Debug.Log(hit.transform.name);
destination = hit.point * blinkDestinationMultiplier;
}
else
{
destination = (cameraTransform.position + cameraTransform.forward.normalized * blinkDistance) * blinkDestinationMultiplier;
//}
}
destination.y += Camera.main.transform.position.y;
blinking = true;
GameObject FindPortalInFront()
{
Ray ray = playerCamera.ViewportPointToRay(new Vector3(0.5f, 0.5f, 0));
RaycastHit hit;
LayerMask playerLayerMask = LayerMask.GetMask("Player");
if (Physics.Raycast(ray, out hit, playerLayerMask))
{
if (hit.transform.gameObject.transform.root.CompareTag("Portal"))
{
return hit.transform.gameObject.transform.root.gameObject;
}
}
}**/
return null;
}
void ShootProjectile()
{
Ray ray = playerCamera.ViewportPointToRay(new Vector3(0.5f, 0.5f, 0));
RaycastHit hit;
if (Physics.Raycast(ray, out hit))
{
destination = hit.point;
}
else
{
destination = ray.GetPoint(1000);
}
}
void InstantiateIceBolt(GameObject item)
{
var projectileObj = Instantiate(item, rightHandTransform.position, Quaternion.identity) as GameObject;
projectileObj.GetComponent<Rigidbody>().velocity = (destination - rightHandTransform.position).normalized * projectileSpeed;
}
}

View File

@@ -9,7 +9,7 @@ using UnityEngine.Events;
public class GestureRecognizer : MonoBehaviour
{
public InputDevice rightHandController;
public XRNode rightHandSource;
public InputHelpers.Button rightInputButton;
public InputHelpers.Button rightControlButton;
@@ -60,11 +60,13 @@ public class GestureRecognizer : MonoBehaviour
if (!isMoving && startGesture)
{
StartMovement();
StartCoroutine("Haptics");
}
// Ending the movement
else if (isMoving && !startGesture)
{
EndMovement();
StopCoroutine("Haptics");
}
// Updating the movement
else if (isMoving && startGesture)
@@ -72,6 +74,14 @@ public class GestureRecognizer : MonoBehaviour
UpdateMovement();
}
}
// Still needs to be tested
IEnumerator Haptics()
{
while (true)
{
rightHandController.SendHapticImpulse(0u, 0.7f, 0.2f);
}
}
void StartMovement()
{

View File

@@ -13,7 +13,12 @@ public class SpawnerGestureInteraction : MonoBehaviour
foreach (var item in objects)
{
if (item.name == objectName)
Debug.Log(item);
if (item.name == "IceBolt")
{
Instantiate(item, rightHandTransform.position, Quaternion.identity, rightHandTransform);
}
else
{
Instantiate(item, rightHandTransform.position, Quaternion.identity);
Debug.Log(objectName);