diff --git a/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-body.mat b/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-body.mat index a0b636e1..5cfc4251 100644 --- a/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-body.mat +++ b/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-body.mat @@ -11,9 +11,7 @@ Material: m_Shader: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _GLOSSINESS_FROM_BASE_ALPHA - - _SPECULAR_COLOR + m_ValidKeywords: [] m_InvalidKeywords: [] m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -40,7 +38,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 0} + m_Texture: {fileID: 2800000, guid: 152f7d9ecfcc59443a15265bb32c8be8, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _SpecGlossMap: @@ -82,6 +80,7 @@ Material: - _SrcBlend: 1 - _SrcBlendAlpha: 1 - _Surface: 0 + - _XRMotionVectorsPass: 1 - _ZWrite: 1 m_Colors: - _BaseColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-eyes.mat b/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-eyes.mat index 5e924fb9..a2d699a1 100644 --- a/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-eyes.mat +++ b/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-eyes.mat @@ -24,9 +24,7 @@ Material: m_Shader: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _GLOSSINESS_FROM_BASE_ALPHA - - _SPECULAR_COLOR + m_ValidKeywords: [] m_InvalidKeywords: [] m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -53,7 +51,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 0} + m_Texture: {fileID: 2800000, guid: 5a39d0c1acfa2b54c8585459f5c8ac2f, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _SpecGlossMap: @@ -95,6 +93,7 @@ Material: - _SrcBlend: 1 - _SrcBlendAlpha: 1 - _Surface: 0 + - _XRMotionVectorsPass: 1 - _ZWrite: 1 m_Colors: - _BaseColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-face.mat b/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-face.mat index c7b4ccbe..ad156dc1 100644 --- a/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-face.mat +++ b/Assets/Game Kit Controller/Demo 3d Model/Characters/DudeAvatar/Materials/Dude-face.mat @@ -24,9 +24,7 @@ Material: m_Shader: {fileID: 4800000, guid: 8d2bb70cbf9db8d4da26e15b26e74248, type: 3} m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 - m_ValidKeywords: - - _GLOSSINESS_FROM_BASE_ALPHA - - _SPECULAR_COLOR + m_ValidKeywords: [] m_InvalidKeywords: [] m_LightmapFlags: 4 m_EnableInstancingVariants: 0 @@ -53,7 +51,7 @@ Material: m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _MainTex: - m_Texture: {fileID: 0} + m_Texture: {fileID: 2800000, guid: 4781c29e835ab4543b0668066a4b2abf, type: 3} m_Scale: {x: 1, y: 1} m_Offset: {x: 0, y: 0} - _SpecGlossMap: @@ -95,6 +93,7 @@ Material: - _SrcBlend: 1 - _SrcBlendAlpha: 1 - _Surface: 0 + - _XRMotionVectorsPass: 1 - _ZWrite: 1 m_Colors: - _BaseColor: {r: 1, g: 1, b: 1, a: 1} diff --git a/Assets/Game Kit Controller/Materials/launchObject.mat b/Assets/Game Kit Controller/Materials/launchObject.mat index b698bba8..214cf0b0 100644 --- a/Assets/Game Kit Controller/Materials/launchObject.mat +++ b/Assets/Game Kit Controller/Materials/launchObject.mat @@ -12,6 +12,7 @@ Material: m_Parent: {fileID: 0} m_ModifiedSerializedProperties: 0 m_ValidKeywords: + - _ALPHAPREMULTIPLY_ON - _COLORCOLOR_ON - _SURFACE_TYPE_TRANSPARENT m_InvalidKeywords: @@ -20,11 +21,13 @@ Material: m_LightmapFlags: 0 m_EnableInstancingVariants: 0 m_DoubleSidedGI: 0 - m_CustomRenderQueue: -1 + m_CustomRenderQueue: 3000 stringTagMap: - RenderType: Opaque + RenderType: Transparent disabledShaderPasses: - ALWAYS + - DepthOnly + - SHADOWCASTER m_LockedProperties: m_SavedProperties: serializedVersion: 3 @@ -67,8 +70,8 @@ Material: - _DistortionEnabled: 0 - _DistortionStrength: 1 - _DistortionStrengthScaled: 0 - - _DstBlend: 0 - - _DstBlendAlpha: 0 + - _DstBlend: 1 + - _DstBlendAlpha: 1 - _EmissionEnabled: 0 - _FlipbookBlending: 0 - _FlipbookMode: 0 @@ -86,7 +89,7 @@ Material: - _SrcBlend: 1 - _SrcBlendAlpha: 1 - _Surface: 1 - - _ZWrite: 1 + - _ZWrite: 0 m_Colors: - _BaseColor: {r: 1, g: 1, b: 1, a: 1} - _BaseColorAddSubDiff: {r: 0, g: 0, b: 0, a: 0} diff --git a/Assets/Game Kit Controller/Prefabs/Particles/EffectExamples/Shared/Prefabs/ParticlesLight.prefab b/Assets/Game Kit Controller/Prefabs/Particles/EffectExamples/Shared/Prefabs/ParticlesLight.prefab index e0694f8c..b6c2f97e 100644 --- a/Assets/Game Kit Controller/Prefabs/Particles/EffectExamples/Shared/Prefabs/ParticlesLight.prefab +++ b/Assets/Game Kit Controller/Prefabs/Particles/EffectExamples/Shared/Prefabs/ParticlesLight.prefab @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0a67137a93b7dd20cdfb4273fcb5ac452f06c9d799f9a12cd7552b550a605472 -size 2182 +oid sha256:d083ac0ffbd533d9e96850ed408278224423f33bfa93d0dd51a0f115a3677d7a +size 3308 diff --git a/Assets/Game Kit Controller/Scripts/Editor/characterHeightScalerEditor.cs b/Assets/Game Kit Controller/Scripts/Editor/characterHeightScalerEditor.cs new file mode 100644 index 00000000..1f3fff40 --- /dev/null +++ b/Assets/Game Kit Controller/Scripts/Editor/characterHeightScalerEditor.cs @@ -0,0 +1,259 @@ +using UnityEngine; + +#if UNITY_EDITOR +using UnityEditor; + +[CanEditMultipleObjects] +[CustomEditor (typeof (characterHeightScaler))] +public class characterHeightScalerEditor : Editor +{ + characterHeightScaler manager; + + GUIStyle headerStyle; + GUIStyle boxStyle; + + bool showDebugValues; + + + void OnEnable () + { + manager = (characterHeightScaler)target; + } + + + public override void OnInspectorGUI () + { + serializedObject.Update (); + + setupStyles (); + + GUILayout.BeginVertical (); + + EditorGUILayout.Space (5); + + // ==================== MAIN SECTION ==================== + + GUILayout.BeginVertical (boxStyle); + + EditorGUILayout.LabelField ("CHARACTER HEIGHT SCALER", headerStyle); + EditorGUILayout.LabelField ("Scales model UP to match GKC standard size", EditorStyles.centeredGreyMiniLabel); + + EditorGUILayout.Space (5); + + manager.autoDetectHeight = EditorGUILayout.Toggle ( + new GUIContent ("Auto-Detect Height", + "Automatically measures your FBX model and scales it to match GKC's standard height."), + manager.autoDetectHeight); + + manager.gkcStandardHeight = EditorGUILayout.FloatField ( + new GUIContent ("GKC Standard Height", + "Reference height for the default GKC character (usually 1.8 units)."), + manager.gkcStandardHeight); + + EditorGUILayout.Space (3); + + // Show detected info + if (manager.detectedModelHeight > 0.01f) { + string scaleDir = manager.modelScaleMultiplier > 1.01f ? "UP" : + (manager.modelScaleMultiplier < 0.99f ? "DOWN" : "—"); + + EditorGUILayout.HelpBox ( + "Model Height: " + manager.detectedModelHeight.ToString ("F3") + " units\n" + + "GKC Standard: " + manager.gkcStandardHeight.ToString ("F3") + " units\n" + + "Scale Factor: " + manager.modelScaleMultiplier.ToString ("F3") + "x (model scaled " + scaleDir + ")", + MessageType.Info); + } + + EditorGUILayout.Space (3); + + // Main action buttons + EditorGUILayout.BeginHorizontal (); + + Color defaultBgColor = GUI.backgroundColor; + + GUI.backgroundColor = new Color (0.3f, 0.8f, 1.0f); + + if (GUILayout.Button ("Detect Height", GUILayout.Height (28))) { + if (!Application.isPlaying) { + Undo.RecordObject (manager, "Detect Height"); + manager.autoDetectAndSetScale (); + EditorUtility.SetDirty (manager); + } + } + + GUI.backgroundColor = new Color (0.4f, 1.0f, 0.6f); + + GUIStyle boldButton = new GUIStyle (GUI.skin.button); + boldButton.fontStyle = FontStyle.Bold; + + if (GUILayout.Button ("DETECT + APPLY", boldButton, GUILayout.Height (28))) { + if (!Application.isPlaying) { + Undo.RecordObject (manager, "Detect and Apply Height"); + manager.autoDetectAndApply (); + EditorUtility.SetDirty (manager); + } + } + + GUI.backgroundColor = defaultBgColor; + + EditorGUILayout.EndHorizontal (); + + GUILayout.EndVertical (); + + EditorGUILayout.Space (8); + + // ==================== MANUAL / FINE-TUNE ==================== + + GUILayout.BeginVertical ("Manual Scale", "window"); + + if (!manager.heightBaseValuesCaptured) { + EditorGUILayout.HelpBox ( + "Build your character first, then use 'DETECT + APPLY' above.\n" + + "The manual slider below is for fine-tuning after auto-detect.", + MessageType.Warning); + GUI.enabled = false; + } + + EditorGUILayout.Space (); + + // Scale slider + EditorGUILayout.BeginHorizontal (); + + float newScale = EditorGUILayout.Slider ( + new GUIContent ("Model Scale", "Multiplier for the model transform. Auto-detect sets this automatically."), + manager.characterHeightScale, + manager.minHeightScale, + manager.maxHeightScale); + + if (newScale != manager.characterHeightScale) { + Undo.RecordObject (manager, "Change Model Scale"); + manager.characterHeightScale = newScale; + } + + GUI.backgroundColor = Color.cyan; + + if (GUILayout.Button ("1x", GUILayout.Width (35))) { + Undo.RecordObject (manager, "Reset Scale to 1x"); + manager.characterHeightScale = 1.0f; + } + + GUI.backgroundColor = defaultBgColor; + + EditorGUILayout.EndHorizontal (); + + // Foot alignment offset + EditorGUILayout.Space (2); + + manager.footAlignmentOffset = EditorGUILayout.Slider ( + new GUIContent ("Foot Offset", "Fine-tune vertical position. Positive = raise, Negative = lower."), + manager.footAlignmentOffset, + -0.2f, 0.2f); + + EditorGUILayout.Space (); + + // Apply / Reset row + EditorGUILayout.BeginHorizontal (); + + GUI.backgroundColor = new Color (0.4f, 1.0f, 0.4f); + + GUIStyle applyStyle = new GUIStyle (GUI.skin.button); + applyStyle.fontStyle = FontStyle.Bold; + applyStyle.fontSize = 13; + + if (GUILayout.Button (" APPLY ", applyStyle, GUILayout.Height (30))) { + if (!Application.isPlaying) { + Undo.RecordObject (manager, "Apply Scale"); + manager.applyHeightScale (); + EditorUtility.SetDirty (manager); + } + } + + GUI.backgroundColor = new Color (1.0f, 0.5f, 0.5f); + + if (GUILayout.Button (" RESET ", applyStyle, GUILayout.Height (30))) { + if (!Application.isPlaying) { + Undo.RecordObject (manager, "Reset Scale"); + manager.resetHeightScale (); + EditorUtility.SetDirty (manager); + } + } + + GUI.backgroundColor = defaultBgColor; + + EditorGUILayout.EndHorizontal (); + + GUI.enabled = true; + + GUILayout.EndVertical (); + + EditorGUILayout.Space (); + + // ==================== DEBUG ==================== + + GUILayout.BeginVertical ("Debug", "window"); + + manager.showDebugLog = EditorGUILayout.Toggle ("Show Debug Log", manager.showDebugLog); + + EditorGUILayout.Space (); + + if (manager.heightBaseValuesCaptured) { + showDebugValues = EditorGUILayout.Foldout (showDebugValues, "Captured Base Values", true); + + if (showDebugValues) { + GUI.enabled = false; + + EditorGUILayout.ObjectField ("Model Transform", manager.modelTransform, typeof (Transform), true); + EditorGUILayout.Vector3Field ("Base Scale", manager.baseModelLocalScale); + EditorGUILayout.Vector3Field ("Base Position", manager.baseModelLocalPosition); + EditorGUILayout.FloatField ("Detected Height", manager.detectedModelHeight); + EditorGUILayout.FloatField ("Scale Multiplier", manager.modelScaleMultiplier); + EditorGUILayout.FloatField ("Foot Offset", manager.footAlignmentOffset); + + GUI.enabled = true; + } + } + + // Capture button + EditorGUILayout.Space (); + + GUI.backgroundColor = manager.heightBaseValuesCaptured ? Color.yellow : Color.green; + + if (GUILayout.Button (manager.heightBaseValuesCaptured ? "Re-Capture Base Values" : "Capture Base Values")) { + if (!Application.isPlaying) { + Undo.RecordObject (manager, "Capture Base Values"); + manager.captureBaseValues (); + serializedObject.Update (); + } + } + + GUI.backgroundColor = defaultBgColor; + + GUILayout.EndVertical (); + + EditorGUILayout.Space (); + + GUILayout.EndVertical (); + + if (GUI.changed) { + EditorUtility.SetDirty (manager); + serializedObject.ApplyModifiedProperties (); + } + } + + + void setupStyles () + { + if (headerStyle == null) { + headerStyle = new GUIStyle (EditorStyles.boldLabel); + headerStyle.fontSize = 14; + headerStyle.alignment = TextAnchor.MiddleCenter; + } + + if (boxStyle == null) { + boxStyle = new GUIStyle ("box"); + boxStyle.padding = new RectOffset (10, 10, 8, 8); + } + } +} + +#endif diff --git a/Assets/Game Kit Controller/Scripts/Editor/characterHeightScalerEditor.cs.meta b/Assets/Game Kit Controller/Scripts/Editor/characterHeightScalerEditor.cs.meta new file mode 100644 index 00000000..56e66da3 --- /dev/null +++ b/Assets/Game Kit Controller/Scripts/Editor/characterHeightScalerEditor.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 960fa73d6185eba41bf04dd9f8ae1aca \ No newline at end of file diff --git a/Assets/Game Kit Controller/Scripts/Player/Character Builder/characterHeightScaler.cs b/Assets/Game Kit Controller/Scripts/Player/Character Builder/characterHeightScaler.cs new file mode 100644 index 00000000..6dda6e7f --- /dev/null +++ b/Assets/Game Kit Controller/Scripts/Player/Character Builder/characterHeightScaler.cs @@ -0,0 +1,478 @@ +using UnityEngine; +using System.Collections.Generic; + +/// +/// Height scaling for GKC player characters. +/// NEW APPROACH: Instead of scaling COM/capsule/camera/IK down, +/// simply SCALES THE MODEL UP (or down) to match GKC's standard character height. +/// This way capsule, camera, IK, weapons, ground detection — everything stays at +/// GKC default values and just works. Only the model transform changes. +/// +public class characterHeightScaler : MonoBehaviour +{ + [Header ("Auto-Detect Settings")] + [Space] + + [Tooltip ("When enabled, the system automatically measures your FBX model height " + + "and scales it to match the GKC standard height. No manual slider needed.")] + public bool autoDetectHeight = true; + + [Tooltip ("The standard/reference height in Unity units for the default GKC character. " + + "Typically 1.8 units (average humanoid).")] + public float gkcStandardHeight = 1.8f; + + [Tooltip ("The detected height of the current FBX model in Unity units (before scaling).")] + public float detectedModelHeight; + + [Tooltip ("The calculated model scale to match GKC standard height.\n" + + "= gkcStandardHeight / detectedModelHeight")] + public float modelScaleMultiplier = 1.0f; + + [Space] + [Header ("Manual Scale (when Auto-Detect is OFF)")] + [Space] + + [Range (0.3f, 3.0f)] + [Tooltip ("Manual scale multiplier for the model. Used only when autoDetectHeight is OFF.")] + public float characterHeightScale = 1.0f; + + public float minHeightScale = 0.3f; + public float maxHeightScale = 3.0f; + + [Space] + [Header ("State")] + [Space] + + public bool heightBaseValuesCaptured; + public bool showDebugLog; + + [Space] + [Header ("Captured Base Values")] + [Space] + + public Vector3 baseModelLocalScale; + public Vector3 baseModelLocalPosition; + public Transform modelTransform; + + [Tooltip ("Small vertical offset to fine-tune foot alignment (in Unity units). " + + "Positive = raise model, Negative = lower model.")] + public float footAlignmentOffset = 0.0f; + + + // Internal references + playerComponentsManager componentsManager; + playerController playerControllerManager; + IKSystem IKManager; + IKFootSystem IKFootManager; + Transform COMTransform; + + + // ==================== AUTO-DETECT HEIGHT ==================== + + /// + /// Measures the FBX model height using multiple methods. + /// Returns the height in Unity units. + /// + public float detectModelHeight (GameObject model) + { + if (model == null) { + Debug.LogWarning ("characterHeightScaler: No model provided for height detection."); + return gkcStandardHeight; + } + + float measuredHeight = 0f; + string method = "none"; + + Animator animator = model.GetComponentInChildren (); + + // --- Method 1: Animator humanoid bones (head to foot) --- + if (animator != null && animator.isHuman && animator.avatar != null && animator.avatar.isHuman) { + Transform head = animator.GetBoneTransform (HumanBodyBones.Head); + Transform leftFoot = animator.GetBoneTransform (HumanBodyBones.LeftFoot); + Transform rightFoot = animator.GetBoneTransform (HumanBodyBones.RightFoot); + + if (head != null && (leftFoot != null || rightFoot != null)) { + Transform foot = leftFoot != null ? leftFoot : rightFoot; + measuredHeight = head.position.y - foot.position.y; + + // Head bone is at eye level, add ~10% for top of head + measuredHeight *= 1.1f; + method = "Animator bones (head-to-foot)"; + } + } + + // --- Method 2: Animator humanScale --- + if (measuredHeight <= 0.01f && animator != null && animator.isHuman) { + measuredHeight = animator.humanScale * 1.8f; + method = "Animator humanScale"; + } + + // --- Method 3: SkinnedMeshRenderer bounds --- + if (measuredHeight <= 0.01f) { + SkinnedMeshRenderer[] skinnedRenderers = model.GetComponentsInChildren (); + + if (skinnedRenderers.Length > 0) { + Bounds combinedBounds = new Bounds (skinnedRenderers [0].bounds.center, Vector3.zero); + + for (int i = 0; i < skinnedRenderers.Length; i++) { + combinedBounds.Encapsulate (skinnedRenderers [i].bounds); + } + + measuredHeight = combinedBounds.size.y; + method = "SkinnedMeshRenderer bounds"; + } + } + + // --- Method 4: Regular Renderer bounds --- + if (measuredHeight <= 0.01f) { + Renderer[] renderers = model.GetComponentsInChildren (); + + if (renderers.Length > 0) { + Bounds combinedBounds = new Bounds (renderers [0].bounds.center, Vector3.zero); + + for (int i = 0; i < renderers.Length; i++) { + combinedBounds.Encapsulate (renderers [i].bounds); + } + + measuredHeight = combinedBounds.size.y; + method = "Renderer bounds"; + } + } + + // --- Fallback --- + if (measuredHeight <= 0.01f) { + measuredHeight = gkcStandardHeight; + method = "fallback (assuming standard)"; + } + + if (showDebugLog) { + Debug.Log ("characterHeightScaler: DETECT '" + method + "'" + + " | measured=" + measuredHeight.ToString ("F3") + + " | standard=" + gkcStandardHeight.ToString ("F3")); + } + + return measuredHeight; + } + + + /// + /// Auto-detects model height and calculates the scale multiplier + /// to make the model match GKC standard height. + /// scale = gkcStandardHeight / detectedModelHeight + /// + public float autoDetectAndSetScale () + { + resolveModelTransform (); + + if (modelTransform == null) { + Debug.LogWarning ("characterHeightScaler: Cannot auto-detect — no model transform found."); + return 1.0f; + } + + detectedModelHeight = detectModelHeight (modelTransform.gameObject); + + if (detectedModelHeight > 0.01f) { + modelScaleMultiplier = gkcStandardHeight / detectedModelHeight; + modelScaleMultiplier = Mathf.Clamp (modelScaleMultiplier, minHeightScale, maxHeightScale); + } else { + modelScaleMultiplier = 1.0f; + } + + characterHeightScale = modelScaleMultiplier; + + if (showDebugLog) { + Debug.Log ("characterHeightScaler: AUTO-DETECT RESULT" + + " | modelHeight=" + detectedModelHeight.ToString ("F3") + + " | standardHeight=" + gkcStandardHeight.ToString ("F3") + + " | scaleMultiplier=" + modelScaleMultiplier.ToString ("F3") + + " (model will be scaled UP by " + modelScaleMultiplier.ToString ("F2") + "x)"); + } + + return modelScaleMultiplier; + } + + + /// + /// Full automatic: capture base values, detect height, scale model, align feet. + /// + public void autoDetectAndApply () + { + captureBaseValues (); + autoDetectAndSetScale (); + applyHeightScale (); + + if (showDebugLog) { + Debug.Log ("characterHeightScaler: FULL AUTO complete." + + " Model scaled " + characterHeightScale.ToString ("F3") + "x" + + " (from " + detectedModelHeight.ToString ("F3") + + "m to ~" + gkcStandardHeight.ToString ("F3") + "m)"); + } + } + + + // ==================== CAPTURE / APPLY / RESET ==================== + + /// + /// Captures the model's current localScale and localPosition as the base (unscaled) values. + /// Call after building the character, before applying any scale. + /// + public void captureBaseValues () + { + resolveReferences (); + + resolveModelTransform (); + + if (modelTransform != null) { + baseModelLocalScale = modelTransform.localScale; + baseModelLocalPosition = modelTransform.localPosition; + } + + heightBaseValuesCaptured = true; + characterHeightScale = 1.0f; + modelScaleMultiplier = 1.0f; + + if (showDebugLog) { + Debug.Log ("characterHeightScaler: CAPTURED" + + " | model='" + (modelTransform != null ? modelTransform.name : "NULL") + "'" + + " | baseScale=" + baseModelLocalScale + + " | basePos=" + baseModelLocalPosition); + } + + updateComponent (); + } + + + /// + /// Scales the model transform to match GKC standard height. + /// No COM, capsule, camera, IK, or weapon changes needed — + /// those all stay at GKC default values since we're fitting the model to the system, + /// not the system to the model. + /// + public void applyHeightScale () + { + if (!heightBaseValuesCaptured) { + Debug.LogWarning ("characterHeightScaler: No base values captured. Click 'Capture Base Values' first."); + return; + } + + resolveReferences (); + + float scale = characterHeightScale; + + if (showDebugLog) { + Debug.Log ("characterHeightScaler: ===== APPLYING MODEL SCALE = " + scale.ToString ("F3") + "x ====="); + } + + // 1. Scale the model + if (modelTransform != null) { + modelTransform.localScale = baseModelLocalScale * scale; + + if (showDebugLog) { + Debug.Log (" [Model] '" + modelTransform.name + "' localScale = " + modelTransform.localScale); + } + } + + // 2. Align feet to ground (model origin may not be at feet) + alignFeetToGround (); + + // 3. Recalculate IK foot initial values (bone positions changed due to model scale) + if (IKFootManager != null) { + IKFootManager.calculateInitialFootValues (); + + if (showDebugLog) { + Debug.Log (" [IKFoot] Recalculated initial foot values"); + } + } + + updateComponent (); + markComponentsDirty (); + + if (showDebugLog) { + Debug.Log ("characterHeightScaler: ===== APPLY COMPLETE ====="); + } + } + + + /// + /// After scaling the model, ensure feet are aligned with ground level. + /// Measures the lowest foot bone Y (or mesh bottom) and adjusts model localPosition. + /// + void alignFeetToGround () + { + if (modelTransform == null) { + return; + } + + Animator animator = modelTransform.GetComponentInChildren (); + + float footWorldY = float.MaxValue; + bool footFound = false; + + // Try humanoid foot bones (LeftToes / RightToes first, then LeftFoot / RightFoot) + if (animator != null && animator.isHuman) { + Transform leftToes = animator.GetBoneTransform (HumanBodyBones.LeftToes); + Transform rightToes = animator.GetBoneTransform (HumanBodyBones.RightToes); + Transform leftFoot = animator.GetBoneTransform (HumanBodyBones.LeftFoot); + Transform rightFoot = animator.GetBoneTransform (HumanBodyBones.RightFoot); + + // Prefer toes (closest to ground), fall back to foot bone + if (leftToes != null || rightToes != null) { + if (leftToes != null) footWorldY = Mathf.Min (footWorldY, leftToes.position.y); + if (rightToes != null) footWorldY = Mathf.Min (footWorldY, rightToes.position.y); + footFound = true; + } else if (leftFoot != null || rightFoot != null) { + if (leftFoot != null) footWorldY = Mathf.Min (footWorldY, leftFoot.position.y); + if (rightFoot != null) footWorldY = Mathf.Min (footWorldY, rightFoot.position.y); + footFound = true; + } + } + + // Fallback: SkinnedMeshRenderer bounds bottom + if (!footFound) { + SkinnedMeshRenderer[] renderers = modelTransform.GetComponentsInChildren (); + + if (renderers.Length > 0) { + Bounds combinedBounds = renderers [0].bounds; + + for (int i = 1; i < renderers.Length; i++) { + combinedBounds.Encapsulate (renderers [i].bounds); + } + + footWorldY = combinedBounds.min.y; + footFound = true; + } + } + + if (!footFound) { + if (showDebugLog) { + Debug.LogWarning ("characterHeightScaler: Could not find foot bones or renderers for alignment."); + } + + return; + } + + // Ground level = Player Controller transform.position.y (capsule bottom) + float groundWorldY = transform.position.y; + + float offsetY = footWorldY - groundWorldY; + + if (showDebugLog) { + Debug.Log (" [FootAlign] footWorldY=" + footWorldY.ToString ("F4") + + " groundY=" + groundWorldY.ToString ("F4") + + " offset=" + offsetY.ToString ("F4") + + " userAdjust=" + footAlignmentOffset.ToString ("F4")); + } + + // Adjust model localPosition to put feet on ground + user fine-tune offset + if (Mathf.Abs (offsetY) > 0.005f || Mathf.Abs (footAlignmentOffset) > 0.001f) { + Vector3 modelPos = modelTransform.localPosition; + modelPos.y = baseModelLocalPosition.y - offsetY + footAlignmentOffset; + modelTransform.localPosition = modelPos; + + if (showDebugLog) { + Debug.Log (" [FootAlign] model localPos.y = " + modelPos.y.ToString ("F4")); + } + } + } + + + /// + /// Resets model to original scale and position (1:1 with FBX import). + /// + public void resetHeightScale () + { + if (modelTransform != null) { + modelTransform.localScale = baseModelLocalScale; + modelTransform.localPosition = baseModelLocalPosition; + } + + characterHeightScale = 1.0f; + modelScaleMultiplier = 1.0f; + + if (IKFootManager != null) { + IKFootManager.calculateInitialFootValues (); + } + + updateComponent (); + markComponentsDirty (); + } + + + // ==================== INTERNAL ==================== + + void resolveReferences () + { + if (componentsManager == null) { + GameObject playerObject = null; + + buildPlayer builder = GetComponent (); + + if (builder != null) { + playerObject = builder.player; + } + + if (playerObject == null) { + playerObject = transform.root.gameObject; + } + + componentsManager = playerObject.GetComponent (); + } + + if (componentsManager != null) { + if (playerControllerManager == null) { + playerControllerManager = componentsManager.getPlayerController (); + } + + if (IKManager == null) { + IKManager = componentsManager.getIKSystem (); + } + + if (IKFootManager == null) { + IKFootManager = GetComponentInChildren (); + } + + if (COMTransform == null && IKManager != null) { + COMTransform = IKManager.getIKBodyCOM (); + } + } + + resolveModelTransform (); + } + + + void resolveModelTransform () + { + if (modelTransform == null) { + buildPlayer builder = GetComponent (); + + if (builder != null && builder.currentCharacterModel != null) { + modelTransform = builder.currentCharacterModel.transform; + } + } + } + + + void markComponentsDirty () + { +#if UNITY_EDITOR + if (modelTransform != null) { + UnityEditor.EditorUtility.SetDirty (modelTransform); + UnityEditor.EditorUtility.SetDirty (modelTransform.gameObject); + } + + if (IKFootManager != null) { + UnityEditor.EditorUtility.SetDirty (IKFootManager); + } + + UnityEditor.EditorUtility.SetDirty (this); +#endif + } + + + void updateComponent () + { +#if UNITY_EDITOR + UnityEditor.EditorUtility.SetDirty (this); +#endif + } +} diff --git a/Assets/Game Kit Controller/Scripts/Player/Character Builder/characterHeightScaler.cs.meta b/Assets/Game Kit Controller/Scripts/Player/Character Builder/characterHeightScaler.cs.meta new file mode 100644 index 00000000..f6735e46 --- /dev/null +++ b/Assets/Game Kit Controller/Scripts/Player/Character Builder/characterHeightScaler.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 483841965e178d243bb0504793ad7395 \ No newline at end of file diff --git a/Assets/Game/Aliens/Flaco.meta b/Assets/Game/Aliens/Flaco.meta new file mode 100644 index 00000000..da02c6c4 --- /dev/null +++ b/Assets/Game/Aliens/Flaco.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: d85ae583b8a2c3b4292824e169b01c17 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Game/Aliens/Flaco/Paraglider Mesh 1.prefab b/Assets/Game/Aliens/Flaco/Paraglider Mesh 1.prefab new file mode 100644 index 00000000..cef6ab61 --- /dev/null +++ b/Assets/Game/Aliens/Flaco/Paraglider Mesh 1.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:55d2b1c5a11b7b0408bd2b737f799647c9afaedd360021995bfe6159e0fba7cf +size 42106 diff --git a/Assets/Game/Aliens/Flaco/Paraglider Mesh 1.prefab.meta b/Assets/Game/Aliens/Flaco/Paraglider Mesh 1.prefab.meta new file mode 100644 index 00000000..690ccb5e --- /dev/null +++ b/Assets/Game/Aliens/Flaco/Paraglider Mesh 1.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: e6f15942d10435b419c6263dfe66101a +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Game/Aliens/Flaco/Trail (1).prefab b/Assets/Game/Aliens/Flaco/Trail (1).prefab new file mode 100644 index 00000000..565673ae --- /dev/null +++ b/Assets/Game/Aliens/Flaco/Trail (1).prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0133172028b6beb2f29445489a805f4c1737f7ae44c22d914be73b062d8fc898 +size 3700 diff --git a/Assets/Game/Aliens/Flaco/Trail (1).prefab.meta b/Assets/Game/Aliens/Flaco/Trail (1).prefab.meta new file mode 100644 index 00000000..735e7690 --- /dev/null +++ b/Assets/Game/Aliens/Flaco/Trail (1).prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 48d8af4cd1f2eb04e9be148bdbffa073 +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Game/Aliens/Flaco/Trail.prefab b/Assets/Game/Aliens/Flaco/Trail.prefab new file mode 100644 index 00000000..78e3f4ea --- /dev/null +++ b/Assets/Game/Aliens/Flaco/Trail.prefab @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5d96a93d477890a52ba38d9253019e67fb4276d563b2c335a7c1d6854cde515c +size 3699 diff --git a/Assets/Game/Aliens/Flaco/Trail.prefab.meta b/Assets/Game/Aliens/Flaco/Trail.prefab.meta new file mode 100644 index 00000000..dd13bfa1 --- /dev/null +++ b/Assets/Game/Aliens/Flaco/Trail.prefab.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: f26e0b7d99222864196327708ecfd00a +PrefabImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Game/Aliens/FlacoA.fbx b/Assets/Game/Aliens/FlacoA.fbx new file mode 100644 index 00000000..951361df --- /dev/null +++ b/Assets/Game/Aliens/FlacoA.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d6628588edf58301876f7efc2b6249691ee45db05e012081ae3f73a85eb35a7 +size 1230524 diff --git a/Assets/Game/Aliens/SM_Alien_Fuerte.fbx.meta b/Assets/Game/Aliens/FlacoA.fbx.meta similarity index 98% rename from Assets/Game/Aliens/SM_Alien_Fuerte.fbx.meta rename to Assets/Game/Aliens/FlacoA.fbx.meta index 91583797..c3ed8690 100644 --- a/Assets/Game/Aliens/SM_Alien_Fuerte.fbx.meta +++ b/Assets/Game/Aliens/FlacoA.fbx.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: c49134787bcad68478d3115e007f9f8e +guid: c4f114401ed0db447a4f8891b4548f57 ModelImporter: serializedVersion: 24200 internalIDToNameTable: [] diff --git a/Assets/Game/Aliens/MMDO.fbx b/Assets/Game/Aliens/MMDO.fbx new file mode 100644 index 00000000..d7e03bf8 --- /dev/null +++ b/Assets/Game/Aliens/MMDO.fbx @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f61b3333da1a2805ec33c87b91e0c2075b8a930b6d74db253624ee9cc37ce064 +size 1581116 diff --git a/Assets/Game/Aliens/SM_Alien_Flaco.fbx.meta b/Assets/Game/Aliens/MMDO.fbx.meta similarity index 59% rename from Assets/Game/Aliens/SM_Alien_Flaco.fbx.meta rename to Assets/Game/Aliens/MMDO.fbx.meta index 29b30fed..998389d0 100644 --- a/Assets/Game/Aliens/SM_Alien_Flaco.fbx.meta +++ b/Assets/Game/Aliens/MMDO.fbx.meta @@ -1,5 +1,5 @@ fileFormatVersion: 2 -guid: d2e065b3dadd2004693cd2dc80c5837e +guid: b879ee09ecec9fa4889ae4488262aa77 ModelImporter: serializedVersion: 24200 internalIDToNameTable: [] @@ -267,6 +267,22 @@ ModelImporter: value: {x: 0, y: 0, z: 0} length: 0 modified: 0 + - boneName: Anular_01.L + 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: Anular_02.L + 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: "Me\xF1ique_01.L" humanName: Left Little Proximal limit: @@ -299,6 +315,22 @@ ModelImporter: value: {x: 0, y: 0, z: 0} length: 0 modified: 0 + - boneName: Anular_01.R + 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: Anular_02.R + 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: "Me\xF1ique_01.R" humanName: Right Little Proximal limit: @@ -323,244 +355,202 @@ ModelImporter: value: {x: 0, y: 0, z: 0} length: 0 modified: 0 - - boneName: Anular_01.L - 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: Anular_02.L - 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: Anular_01.R - 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: Anular_02.R - 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 skeleton: - - name: SM_Alien_Flaco(Clone) + - name: MMDO(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: Armature - parentName: SM_Alien_Flaco(Clone) - position: {x: 0.53928626, y: 0, z: 0} + - name: Armature.001 + parentName: MMDO(Clone) + position: {x: -0.7957468, y: 0, z: 0} rotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} scale: {x: 100, y: 100, z: 100} - name: Control_Maestro - parentName: Armature - position: {x: -0.0000000023841857, y: 0.00033604132, z: 0.00011200547} - rotation: {x: 0.7071068, y: 0, z: -0, w: 0.7071067} - scale: {x: 1, y: 1, z: 1} + parentName: Armature.001 + position: {x: -0, y: 0, z: 6.8634975e-10} + rotation: {x: 0.7071068, y: -0, z: -0, w: 0.7071068} + scale: {x: 1, y: 0.9999998, z: 0.9999998} - name: Control_Cadera parentName: Control_Maestro - position: {x: -0, y: 0.006137542, z: -0.0004025848} - rotation: {x: 0.7069518, y: -0.014809673, z: 0.7069516, w: -0.014808178} - scale: {x: 0.99999994, y: 0.9999999, z: 1.0000007} + position: {x: -1.7754672e-17, y: 0.0070674038, z: -0.00046357783} + rotation: {x: 0.70695186, y: -0.014808983, z: 0.7069516, w: -0.014808953} + scale: {x: 0.99999994, y: 0.9999999, z: 1.0000005} - name: Cadera parentName: Control_Cadera - position: {x: -1.8627199e-11, y: 0.00064706436, z: -1.110223e-16} - rotation: {x: 0.00000031376155, y: 1.8329259e-13, z: 0.9999992, w: 0.001274065} - scale: {x: 0.99999994, y: 0.9999999, z: 1} + position: {x: 0.0000000020554582, y: 0.0007450831, z: 0.007957464} + rotation: {x: -0.00000035762778, y: 0.00000002793967, z: -0.99999917, w: -0.001274048} + scale: {x: 1.0000005, y: 1.0000001, z: 1.0000004} - name: Columna_01 parentName: Cadera - position: {x: 3.7252153e-11, y: 0.00068895385, z: 7.105427e-17} - rotation: {x: 0.000000005931511, y: 0.00000017952871, z: 0.04429725, w: 0.99901843} - scale: {x: 0.9999999, y: 0.9999997, z: 1.0000006} + position: {x: -0, y: 0.000793332, z: -7.46317e-18} + rotation: {x: 0.000000011863403, y: 0.00000017724045, z: 0.044297248, w: 0.99901843} + scale: {x: 1.0000001, y: 1, z: 1.000001} - name: Columna_02 parentName: Columna_01 - position: {x: 7.45059e-11, y: 0.0006906298, z: -8.659739e-17} - rotation: {x: 0.0000000029263054, y: -0.0000000018330778, z: -0.06655902, w: 0.99778247} - scale: {x: 0.9999999, y: 0.99999994, z: 1} + position: {x: 7.4505804e-11, y: 0.00079526263, z: 2.9533714e-18} + rotation: {x: -0.00000014516989, y: 0.00000006762419, z: -0.06655898, w: 0.9977826} + scale: {x: 1.0000004, y: 1, z: 1.0000005} - name: Columna_03 parentName: Columna_02 - position: {x: 2.793978e-11, y: 0.0012618416, z: -1.4294121e-17} - rotation: {x: -0.0000000012053405, y: 0.00000000115632, z: 0.027846439, w: 0.9996122} - scale: {x: 0.99999994, y: 0.9999999, z: 1} + position: {x: 1.8626451e-11, y: 0.0014530162, z: 1.5766237e-18} + rotation: {x: 0.0000001670033, y: -0.000000030589202, z: 0.02784643, w: 0.9996123} + scale: {x: 1.0000002, y: 1, z: 1.0000002} - name: Cuello parentName: Columna_03 - position: {x: -1.117586e-10, y: 0.0015918013, z: 1.7763568e-17} - rotation: {x: 0.0000000010942879, y: -0.000000001054476, z: -0.025221363, w: 0.9996819} - scale: {x: 0.99999976, y: 0.99999964, z: 1.0000007} + position: {x: -1.8626451e-11, y: 0.0018329642, z: -1.986165e-18} + rotation: {x: 8.9714525e-10, y: 6.622257e-11, z: -0.025221396, w: 0.99968195} + scale: {x: 0.99999976, y: 0.9999994, z: 1.0000008} - name: Cabeza parentName: Cuello - position: {x: -1.0243382e-11, y: 0.00085936184, z: -5.359269e-17} - rotation: {x: -0.0000000017209099, y: 0.0000000015181731, z: 0.0392438, w: 0.99922967} - scale: {x: 1, y: 1, z: 1} + position: {x: -2.1935254e-11, y: 0.0009895611, z: -3.4952814e-19} + rotation: {x: -0.000000020539595, y: 0.000000059072626, z: 0.039243758, w: 0.9992297} + scale: {x: 1.0000005, y: 1, z: 1.0000001} - name: Hombro.L parentName: Columna_03 - position: {x: -0.000018270845, y: 0.0012299367, z: -0.00063639355} - rotation: {x: -0.6856985, y: 0.017299628, z: -0.018353116, w: 0.7274486} - scale: {x: 1, y: 0.99999994, z: 0.9999999} + position: {x: -0.000021038935, y: 0.001416274, z: -0.0007328094} + rotation: {x: -0.6856983, y: 0.017299663, z: -0.018353174, w: 0.7274488} + scale: {x: 0.99999994, y: 1, z: 0.9999997} - name: Brazo.L parentName: Hombro.L - position: {x: 5.5872817e-11, y: 0.0008655179, z: -0.0000000010999686} - rotation: {x: -0.37750757, y: 0.02499395, z: 0.010650709, w: 0.92560786} - scale: {x: 1.0000002, y: 1, z: 1.0000005} + position: {x: 2.3809398e-12, y: 0.0009966476, z: -0.0000000020086304} + rotation: {x: -0.05539852, y: 0.0070167095, z: 0.0010982605, w: 0.99843913} + scale: {x: 0.9999994, y: 1, z: 1.0000004} - name: Antebrazo.L parentName: Brazo.L - position: {x: -3.8417054e-11, y: 0.0023671936, z: -2.0605512e-10} - rotation: {x: -0.18750848, y: 0.98001975, z: 0.041061115, w: 0.052113693} - scale: {x: 0.99999976, y: 1.0000012, z: 1.0000006} + position: {x: -3.72529e-10, y: 0.0027258317, z: 3.352761e-10} + rotation: {x: 0.03143723, y: -0.99789864, z: -0.02859786, w: -0.04891025} + scale: {x: 0.9999986, y: 1.0000001, z: 1.0000019} - name: Mano.L parentName: Antebrazo.L - position: {x: 1.0710209e-10, y: 0.0022193054, z: -2.43308e-10} - rotation: {x: -0.045641407, y: -0.7167203, z: -0.08614931, w: 0.69051224} - scale: {x: 1.0000001, y: 1.0000001, z: 0.9999995} - - name: "Me\xF1ique_01.L" - parentName: Mano.L - position: {x: -0.000053266598, y: 0.0005026223, z: 0.00027815744} - rotation: {x: 0.0017495392, y: -0.06028347, z: -0.098125495, w: 0.993345} - scale: {x: 1, y: 1, z: 1} - - name: "Me\xF1ique_02.L" - parentName: "Me\xF1ique_01.L" - position: {x: -7.4505804e-11, y: 0.00051521044, z: -3.7252902e-11} - rotation: {x: 0.061545815, y: 0.031329125, z: -0.12486831, w: 0.9897669} - scale: {x: 1.0000002, y: 1.0000001, z: 1.0000001} - - name: Pulgar_01.L - parentName: Mano.L - position: {x: 0.00014655155, y: 0.00026031132, z: -0.00036921585} - rotation: {x: -0.30302718, y: -0.6826305, z: 0.11090358, w: 0.6556604} - scale: {x: 0.99999994, y: 0.9999998, z: 1} - - name: Pulgar_02.L - parentName: Pulgar_01.L - position: {x: -4.4703483e-10, y: 0.00036708667, z: -7.4505804e-11} - rotation: {x: 0.057183444, y: -0.022504607, z: -0.3347757, w: 0.9402919} - scale: {x: 1.0000001, y: 1.0000001, z: 1} - - name: Control_Mano.L - parentName: Mano.L - position: {x: 0, y: 0, z: 0} - rotation: {x: 0.0000010877847, y: 0.00000044703478, z: -0.0000014640389, w: 1} - scale: {x: 1, y: 1, z: 1} + position: {x: -5.5879353e-11, y: 0.002555539, z: 5.2154064e-10} + rotation: {x: -0.049299143, y: -0.68503, z: -0.07026849, w: 0.7234403} + scale: {x: 0.9999977, y: 1.0000007, z: 1.0000029} - name: Anular_01.L - parentName: Control_Mano.L - position: {x: -0.000007491335, y: 0.0005582014, z: -0.000102688144} - rotation: {x: 0.02570744, y: 0.017738154, z: -0.04940956, w: 0.9982901} - scale: {x: 0.99999994, y: 1, z: 1.0000001} + parentName: Mano.L + position: {x: 0.00001172489, y: 0.0006409008, z: -0.0001277558} + rotation: {x: -0.024227414, y: -0.006894644, z: -0.040761083, w: 0.99885136} + scale: {x: 0.9999999, y: 1.0000007, z: 1.0000006} - name: Anular_02.L parentName: Anular_01.L - position: {x: -3.9115547e-10, y: 0.00047456502, z: -2.3283064e-10} - rotation: {x: 0.048215307, y: 0.010430904, z: -0.120686986, w: 0.9914642} - scale: {x: 1.0000001, y: 0.9999999, z: 1} + position: {x: -2.7939677e-11, y: 0.00054646324, z: -1.3038516e-10} + rotation: {x: 0.048215084, y: 0.010430835, z: -0.12068676, w: 0.9914642} + scale: {x: 0.9999992, y: 1.0000006, z: 0.99999994} + - name: "Me\xF1ique_01.L" + parentName: Mano.L + position: {x: -0.00006133678, y: 0.0005787715, z: 0.00032029886} + rotation: {x: -0.040221598, y: -0.05635937, z: -0.058962464, w: 0.99585605} + scale: {x: 0.9999996, y: 1.0000005, z: 0.9999999} + - name: "Me\xF1ique_02.L" + parentName: "Me\xF1ique_01.L" + position: {x: -0, y: 0.00059326715, z: -1.11758706e-10} + rotation: {x: 0.061545663, y: 0.031328987, z: -0.12486872, w: 0.9897669} + scale: {x: 0.9999992, y: 1.0000005, z: 1.0000006} + - name: Pulgar_01.L + parentName: Mano.L + position: {x: 0.0001687546, y: 0.00029974952, z: -0.00042515382} + rotation: {x: 0.14815097, y: 0.70542383, z: -0.07911123, w: -0.6886} + scale: {x: 0.9999997, y: 1.0000015, z: 0.9999996} + - name: Pulgar_02.L + parentName: Pulgar_01.L + position: {x: 5.820766e-13, y: 0.00042270124, z: -3.899913e-11} + rotation: {x: 0.057183404, y: -0.022504527, z: -0.33477554, w: 0.9402919} + scale: {x: 0.9999997, y: 0.9999993, z: 1} - name: Hombro.R parentName: Columna_03 - position: {x: -0.000018270974, y: 0.0012299367, z: 0.00063639355} - rotation: {x: 0.018353121, y: 0.7274486, z: 0.6856985, w: 0.017299686} - scale: {x: 1, y: 0.9999998, z: 0.9999998} + position: {x: -0.000021038926, y: 0.0014162753, z: 0.0007328092} + rotation: {x: -0.01835316, y: -0.7274489, z: -0.6856982, w: -0.017299775} + scale: {x: 1.0000001, y: 1, z: 0.99999994} - name: Brazo.R parentName: Hombro.R - position: {x: -8.879968e-11, y: 0.00086551707, z: 0.0000000010493726} - rotation: {x: -0.37750697, y: -0.024994487, z: -0.010652421, w: 0.9256081} - scale: {x: 1.0000004, y: 0.99999946, z: 0.99999994} + position: {x: -6.5609844e-11, y: 0.0009966469, z: -0.0000000019009863} + rotation: {x: 0.05539843, y: 0.0070166388, z: 0.0010980928, w: -0.9984391} + scale: {x: 0.999999, y: 0.9999998, z: 0.9999998} - name: Antebrazo.R parentName: Brazo.R - position: {x: -3.0267983e-11, y: 0.002367194, z: -1.7695129e-10} - rotation: {x: 0.18750487, y: 0.9800205, z: 0.041060213, w: -0.052113622} - scale: {x: 0.99999964, y: 0.9999999, z: 1.0000005} + position: {x: -2.6077032e-10, y: 0.0027258324, z: -1.4901161e-10} + rotation: {x: -0.03143757, y: -0.99789864, z: -0.028597489, w: 0.048909906} + scale: {x: 0.99999887, y: 1.000001, z: 1.0000019} - name: Mano.R parentName: Antebrazo.R - position: {x: 1.3737007e-10, y: 0.002219306, z: -7.380731e-10} - rotation: {x: -0.045642678, y: 0.71671987, z: 0.086150594, w: 0.6905125} - scale: {x: 0.99999994, y: 1.0000001, z: 0.9999997} + position: {x: 3.7252902e-11, y: 0.0025555384, z: 0} + rotation: {x: -0.049299054, y: 0.6850302, z: 0.07026859, w: 0.72344005} + scale: {x: 0.9999977, y: 1.0000008, z: 1.0000026} - name: "Me\xF1ique_01.R" parentName: Mano.R - position: {x: 0.000053266995, y: 0.00050262344, z: 0.00027815788} - rotation: {x: 0.0017493317, y: 0.060282264, z: 0.09812605, w: 0.993345} - scale: {x: 0.9999998, y: 0.9999999, z: 1} + position: {x: 0.000061336934, y: 0.00057877117, z: 0.0003202989} + rotation: {x: -0.040221278, y: 0.056359176, z: 0.058963835, w: 0.99585605} + scale: {x: 0.99999964, y: 1.0000004, z: 1.0000001} - name: "Me\xF1ique_02.R" parentName: "Me\xF1ique_01.R" - position: {x: 4.842877e-10, y: 0.00051521056, z: 2.2351741e-10} - rotation: {x: 0.061546728, y: -0.03132671, z: 0.1248671, w: 0.9897671} - scale: {x: 0.99999976, y: 1, z: 1} + position: {x: -3.7252902e-11, y: 0.0005932667, z: 0} + rotation: {x: 0.06154574, y: -0.03132913, z: 0.12486886, w: 0.9897669} + scale: {x: 0.99999976, y: 1.0000013, z: 1.000001} - name: Pulgar_01.R parentName: Mano.R - position: {x: -0.0001465519, y: 0.00026031162, z: -0.00036921623} - rotation: {x: -0.30302474, y: 0.6826355, z: -0.11090527, w: 0.65565604} - scale: {x: 1, y: 1.0000001, z: 1.0000001} + position: {x: -0.00016875462, y: 0.0002997491, z: -0.00042515353} + rotation: {x: -0.14815086, y: 0.70542336, z: -0.07911049, w: 0.68860054} + scale: {x: 0.9999989, y: 1.0000013, z: 0.9999994} - name: Pulgar_02.R parentName: Pulgar_01.R - position: {x: 3.7252902e-11, y: 0.00036708676, z: 8.1956386e-10} - rotation: {x: 0.057180077, y: 0.02249719, z: 0.3347743, w: 0.9402928} - scale: {x: 0.9999999, y: 0.9999998, z: 1} - - name: Control_Mano.R - parentName: Mano.R - position: {x: 0, y: 0, z: 0} - rotation: {x: 0.0000011958178, y: 0.0000010132787, z: -0.0000004582106, w: 1} - scale: {x: 1, y: 1, z: 1} + position: {x: 8.4430213e-10, y: 0.000422701, z: -7.4214766e-11} + rotation: {x: 0.05718325, y: 0.0225048, z: 0.33477587, w: 0.9402919} + scale: {x: 1.000001, y: 0.9999999, z: 1.0000006} - name: Anular_01.R - parentName: Control_Mano.R - position: {x: 0.000007492518, y: 0.00055820105, z: -0.00010268781} - rotation: {x: 0.025707636, y: -0.017737787, z: 0.049409363, w: 0.9982902} - scale: {x: 1, y: 0.99999994, z: 1} + parentName: Mano.R + position: {x: -0.000011725124, y: 0.0006408998, z: -0.00012775612} + rotation: {x: -0.024225505, y: 0.0068947617, z: 0.040763076, w: 0.9988513} + scale: {x: 0.99999964, y: 1.0000004, z: 1.0000001} - name: Anular_02.R parentName: Anular_01.R - position: {x: 5.3085386e-10, y: 0.00047456424, z: -2.7939677e-11} - rotation: {x: 0.048215386, y: -0.010430193, z: 0.120686606, w: 0.9914642} - scale: {x: 1, y: 1.0000001, z: 1} + position: {x: -3.4458936e-10, y: 0.00054646307, z: 1.862645e-10} + rotation: {x: 0.048215345, y: -0.01043096, z: 0.12068682, w: 0.9914642} + scale: {x: 0.99999994, y: 1.0000011, z: 1.0000006} - name: Muslo.L parentName: Cadera - position: {x: -0.00013251555, y: -0.00007523841, z: -0.0004844876} - rotation: {x: -0.020672573, y: -0.03846385, z: 0.9975811, w: 0.054084077} - scale: {x: 1.0000054, y: 0.9999999, z: 1.0000026} + position: {x: -0.00015259208, y: -0.00008663856, z: -0.0005578897} + rotation: {x: -0.0017117739, y: -0.03679782, z: 0.9978645, w: 0.053939965} + scale: {x: 1.0000044, y: 1.0000007, z: 1.0000021} - name: Pierna.L parentName: Muslo.L - position: {x: -8.8475643e-11, y: 0.0025338887, z: 1.3737007e-10} - rotation: {x: 0.028653594, y: -0.004788646, z: 0.14092997, w: 0.98959327} - scale: {x: 0.9999998, y: 1.0000005, z: 0.9999999} + position: {x: -2.7939677e-11, y: 0.002917782, z: 5.937181e-11} + rotation: {x: 0.028662903, y: -0.0047893426, z: 0.14092946, w: 0.9895931} + scale: {x: 0.9999995, y: 0.9999996, z: 1.0000002} - name: Bone.019.L parentName: Pierna.L - position: {x: -2.3283064e-12, y: 0.0025667772, z: 8.731149e-12} - rotation: {x: 0.0035668407, y: -0.00000024339803, z: -0.6324116, w: 0.77462435} - scale: {x: 0.99999994, y: 0.9999998, z: 0.99999994} + position: {x: -3.259629e-11, y: 0.002955654, z: -8.4401104e-11} + rotation: {x: 0.0035650558, y: -0.000001681037, z: -0.63241166, w: 0.77462435} + scale: {x: 0.9999994, y: 1.0000004, z: 1} - name: Bone.020.L parentName: Bone.019.L - position: {x: -1.4988472e-11, y: 0.00066478376, z: -2.2409949e-11} - rotation: {x: -0.0016434314, y: 0.0000012258362, z: -0.16130723, w: 0.9869029} - scale: {x: 0.99999994, y: 0.99999994, z: 0.9999999} + position: {x: -3.7107383e-11, y: 0.00076550175, z: -9.633368e-11} + rotation: {x: -0.0016434687, y: 0.00000092656137, z: -0.16130696, w: 0.9869029} + scale: {x: 1.000001, y: 0.9999989, z: 1.0000001} - name: Muslo.R parentName: Cadera - position: {x: -0.00013251524, y: -0.00007523837, z: 0.00048448765} - rotation: {x: 0.99758106, y: -0.05408531, z: -0.020673444, w: 0.038463533} - scale: {x: 1.0000073, y: 1.0000004, z: 1.0000037} + position: {x: -0.00015259173, y: -0.000086638516, z: 0.00055788975} + rotation: {x: -0.9978644, y: 0.053940088, z: 0.0017122735, w: -0.03679873} + scale: {x: 1.0000049, y: 1.0000012, z: 1.0000031} - name: Pierna.R parentName: Muslo.R - position: {x: 3.259629e-11, y: 0.0025338891, z: 5.5879353e-11} - rotation: {x: 0.028653812, y: 0.004788579, z: -0.14093137, w: 0.989593} - scale: {x: 1.0000001, y: 0.99999964, z: 1} + position: {x: 4.6566126e-11, y: 0.0029177829, z: -3.8417054e-11} + rotation: {x: 0.028664012, y: 0.004789304, z: -0.14092937, w: 0.9895931} + scale: {x: 0.99999976, y: 0.9999999, z: 1} - name: Bone.019.R parentName: Pierna.R - position: {x: 2.561137e-11, y: 0.0025667765, z: -6.635673e-11} - rotation: {x: 0.0035666914, y: 0.00000081196356, z: 0.63241124, w: 0.77462465} - scale: {x: 1.0000001, y: 1.0000001, z: 1} + position: {x: -9.3132255e-12, y: 0.0029556532, z: -7.508788e-11} + rotation: {x: -0.00356476, y: -0.0000022226013, z: -0.63241136, w: -0.7746246} + scale: {x: 1, y: 1.0000005, z: 1.0000004} - name: Bone.020.R parentName: Bone.019.R - position: {x: 4.10364e-11, y: 0.00066478347, z: 8.731149e-12} - rotation: {x: -0.0016435799, y: -0.0000012476767, z: 0.16130723, w: 0.9869029} - scale: {x: 1, y: 1, z: 0.9999998} - - name: SM_Alien_Flaco - parentName: SM_Alien_Flaco(Clone) - position: {x: 0.53928626, y: 0, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} + position: {x: -1.25146464e-11, y: 0.00076550175, z: 5.4278644e-11} + rotation: {x: -0.0016434643, y: -0.0000011300355, z: 0.16130696, w: 0.98690295} + scale: {x: 1.000001, y: 0.9999993, z: 1.0000001} + - name: SM_Alien_Fuerte + parentName: MMDO(Clone) + position: {x: -0.79303694, y: 0.9966012, z: 0.025030248} + rotation: {x: -0.7071068, y: 0, z: -0, w: 0.7071067} + scale: {x: 100, y: 100, z: 100} armTwist: 0.5 foreArmTwist: 0.5 upperLegTwist: 0.5 @@ -569,7 +559,7 @@ ModelImporter: legStretch: 0.05 feetSpacing: 0 globalScale: 1 - rootMotionBoneName: Control_Maestro + rootMotionBoneName: hasTranslationDoF: 0 hasExtraRoot: 1 skeletonHasParents: 1 diff --git a/Assets/Game/Aliens/SM_Alien_Flaco.fbx b/Assets/Game/Aliens/SM_Alien_Flaco.fbx deleted file mode 100644 index 05934f71..00000000 --- a/Assets/Game/Aliens/SM_Alien_Flaco.fbx +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e2b96bf151aa6886ef60feba1d1a0de7a90ce8796220452cd2a9d7a7334eb769 -size 1223948 diff --git a/Assets/Game/Aliens/SM_Alien_Fuerte.fbx b/Assets/Game/Aliens/SM_Alien_Fuerte.fbx deleted file mode 100644 index f81eead7..00000000 --- a/Assets/Game/Aliens/SM_Alien_Fuerte.fbx +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b1b46a23fa9222fffb5da956ae526c8a30fca77c2b9f6e23f25ac83a8852d08b -size 1653596 diff --git a/Assets/Game/House/Escaleras.mat b/Assets/Game/House/Escaleras.mat new file mode 100644 index 00000000..575be0f9 --- /dev/null +++ b/Assets/Game/House/Escaleras.mat @@ -0,0 +1,137 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-4898104441621799382 +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: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Escaleras + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + 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: 0} + 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: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 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 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.6320754, g: 0.38998938, b: 0, a: 1} + - _Color: {r: 0.6320754, g: 0.38998935, b: 0, 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: [] + m_AllowLocking: 1 diff --git a/Assets/Game/House/Escaleras.mat.meta b/Assets/Game/House/Escaleras.mat.meta new file mode 100644 index 00000000..8be66c16 --- /dev/null +++ b/Assets/Game/House/Escaleras.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: dff6dda7e5e7e0f43bbe1427698f14df +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Game/House/Paredes.mat b/Assets/Game/House/Paredes.mat new file mode 100644 index 00000000..e979ce02 --- /dev/null +++ b/Assets/Game/House/Paredes.mat @@ -0,0 +1,137 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-3929876692329645833 +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: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Paredes + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + 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: 0} + 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: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 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 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 1, g: 0.96419674, b: 0.5613208, a: 1} + - _Color: {r: 1, g: 0.96419674, b: 0.5613207, 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: [] + m_AllowLocking: 1 diff --git a/Assets/Game/House/Paredes.mat.meta b/Assets/Game/House/Paredes.mat.meta new file mode 100644 index 00000000..db801a1a --- /dev/null +++ b/Assets/Game/House/Paredes.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: e1c6075e5b2c19f469ef211229808f2d +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Game/House/Suelo.mat b/Assets/Game/House/Suelo.mat new file mode 100644 index 00000000..6311125d --- /dev/null +++ b/Assets/Game/House/Suelo.mat @@ -0,0 +1,137 @@ +%YAML 1.1 +%TAG !u! tag:unity3d.com,2011: +--- !u!114 &-2672625497018917492 +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: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion + version: 10 +--- !u!21 &2100000 +Material: + serializedVersion: 8 + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Suelo + m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} + m_Parent: {fileID: 0} + m_ModifiedSerializedProperties: 0 + m_ValidKeywords: [] + m_InvalidKeywords: [] + m_LightmapFlags: 4 + m_EnableInstancingVariants: 0 + m_DoubleSidedGI: 0 + m_CustomRenderQueue: -1 + stringTagMap: + RenderType: Opaque + disabledShaderPasses: + - MOTIONVECTORS + m_LockedProperties: + 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: 0} + 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: + - _AddPrecomputedVelocity: 0 + - _AlphaClip: 0 + - _AlphaToMask: 0 + - _Blend: 0 + - _BlendModePreserveSpecular: 1 + - _BumpScale: 1 + - _ClearCoatMask: 0 + - _ClearCoatSmoothness: 0 + - _Cull: 2 + - _Cutoff: 0.5 + - _DetailAlbedoMapScale: 1 + - _DetailNormalMapScale: 1 + - _DstBlend: 0 + - _DstBlendAlpha: 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 + - _SrcBlendAlpha: 1 + - _Surface: 0 + - _WorkflowMode: 1 + - _XRMotionVectorsPass: 1 + - _ZWrite: 1 + m_Colors: + - _BaseColor: {r: 0.4716981, g: 0.4716981, b: 0.4716981, a: 1} + - _Color: {r: 0.4716981, g: 0.4716981, b: 0.4716981, 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: [] + m_AllowLocking: 1 diff --git a/Assets/Game/House/Suelo.mat.meta b/Assets/Game/House/Suelo.mat.meta new file mode 100644 index 00000000..0981c8f1 --- /dev/null +++ b/Assets/Game/House/Suelo.mat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: f9288b6b561f71a4aad5b8f67f8dc806 +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 2100000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/SampleScene.unity index 14d8f481..72e5fb1b 100644 --- a/Assets/Scenes/SampleScene.unity +++ b/Assets/Scenes/SampleScene.unity @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:7002256f2fd9d5277c477bdf9e1a2e475991f287cb18fa7b587c318c435cadfc -size 86888977 +oid sha256:4f6abfecf359cdae7bb6aba520ad412c52d3c4244ea5a6c4a98845cc03657a5d +size 43444924 diff --git a/Assets/T-Pose.fbx.meta b/Assets/T-Pose.fbx.meta index ab9461a2..8e85c720 100644 --- a/Assets/T-Pose.fbx.meta +++ b/Assets/T-Pose.fbx.meta @@ -3,7 +3,17 @@ guid: aa859a135ccab1c45943eab6c4434629 ModelImporter: serializedVersion: 24200 internalIDToNameTable: [] - externalObjects: {} + externalObjects: + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: Ch50_body + second: {fileID: -4565884009001823619, guid: 47dd5591ce018c74092f3b2fc673b384, type: 3} + - first: + type: UnityEngine:Material + assembly: UnityEngine.CoreModule + name: Ch50_body1 + second: {fileID: -840037777384891287, guid: b339fb67cc9032e4888ef8f5f67a5ff2, type: 3} materials: materialImportMode: 1 materialName: 0 diff --git a/Assets/Untitled.fbx b/Assets/Untitled.fbx deleted file mode 100644 index a75384d3..00000000 --- a/Assets/Untitled.fbx +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a002b2648c42372850aebee5e52182ab0a4a2c80c2beae49650fe8005d18b137 -size 1227004 diff --git a/Assets/Untitled.fbx.meta b/Assets/Untitled.fbx.meta deleted file mode 100644 index 9c549b48..00000000 --- a/Assets/Untitled.fbx.meta +++ /dev/null @@ -1,660 +0,0 @@ -fileFormatVersion: 2 -guid: 682fd44eace91984387cd744c045bf02 -ModelImporter: - serializedVersion: 24200 - internalIDToNameTable: [] - externalObjects: {} - materials: - materialImportMode: 2 - materialName: 0 - materialSearch: 1 - materialLocation: 1 - animations: - legacyGenerateAnimations: 4 - bakeSimulation: 0 - resampleCurves: 1 - optimizeGameObjects: 0 - removeConstantScaleCurves: 0 - motionNodeName: - 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: [] - isReadable: 0 - meshes: - lODScreenPercentages: [] - globalScale: 1 - meshCompression: 0 - addColliders: 0 - useSRGBMaterialColor: 1 - sortHierarchyByName: 1 - importPhysicalCameras: 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: 1 - generateMeshLods: 0 - meshLodGenerationFlags: 0 - maximumMeshLod: -1 - meshOptimizationFlags: -1 - indexFormat: 0 - secondaryUVAngleDistortion: 8 - secondaryUVAreaDistortion: 15.000001 - secondaryUVHardAngle: 88 - secondaryUVMarginMethod: 1 - secondaryUVMinLightmapResolution: 40 - secondaryUVMinObjectScale: 1 - secondaryUVPackMargin: 4 - useFileScale: 1 - strictVertexDataChecks: 0 - tangentSpace: - normalSmoothAngle: 60 - normalImportMode: 0 - tangentImportMode: 3 - normalCalculationMode: 4 - legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0 - blendShapeNormalImportMode: 1 - normalSmoothingSource: 0 - referencedClips: [] - importAnimation: 0 - humanDescription: - serializedVersion: 3 - human: - - boneName: Control_Cadera - 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: Muslo.L - 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: Muslo.R - 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: Pierna.L - 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: Pierna.R - 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: Bone.019.L - 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: Bone.019.R - 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: Columna_01 - 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: Columna_02 - 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: Cuello - 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: Cabeza - 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: Hombro.L - 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: Hombro.R - 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: Brazo.L - 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: Brazo.R - 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: Antebrazo.L - 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: Antebrazo.R - 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: Mano.L - 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: Mano.R - 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: Bone.020.L - 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: Bone.020.R - 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: "Me\xF1ique_01.L" - 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: "Me\xF1ique_02.L" - 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: "Me\xF1ique_01.R" - 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: "Me\xF1ique_02.R" - 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: Columna_03 - 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 - - boneName: Medio_02.R - 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: Medio_02.R_end - 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: Medio_01.R - 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: "Me\xF1ique_02.R_end" - 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: Pulgar_02.R_end - 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: Pulgar_02.R - 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: Pulgar_01.R - 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: "Me\xF1ique_02.L_end" - 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: Pulgar_02.L - 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: Pulgar_01.L - 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: Pulgar_02.L_end - 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: Mano.L.002_end - 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: Mano.L.002 - 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: Mano.L.001 - 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 - skeleton: - - name: Untitled(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: Armature.001 - parentName: Untitled(Clone) - position: {x: -0.79574686, y: 0, z: 0} - rotation: {x: -0.7071069, y: 0, z: 0, w: 0.7071067} - scale: {x: 1, y: 1, z: 1} - - name: Control_Cadera - parentName: Armature.001 - position: {x: 0.7946187, y: 0.04635781, z: 0.70672333} - rotation: {x: -0.48162967, y: 0.5028967, z: -0.49708608, w: 0.5177192} - scale: {x: 0.99999994, y: 1, z: 1} - - name: Columna_01 - parentName: Control_Cadera - position: {x: -0.00020293705, y: -0.0048038485, z: 0.0012742109} - rotation: {x: 0.00065431726, y: 0.015128886, z: 0.9989599, w: -0.04300964} - scale: {x: 1.0000153, y: 0.9999998, z: 1.0000027} - - name: Columna_02 - parentName: Columna_01 - position: {x: -0.000000007450581, y: 0.07952619, z: -1.7974511e-13} - rotation: {x: -0.00000070893975, y: -0.00000004136845, z: -0.066558115, w: 0.9977826} - scale: {x: 0.9999999, y: 1.0000001, z: 1} - - name: Columna_03 - parentName: Columna_02 - position: {x: 0.0000000013969839, y: 0.14530183, z: -4.968248e-14} - rotation: {x: 0.00000029896538, y: -0.000000015402875, z: 0.027846066, w: 0.9996122} - scale: {x: 1, y: 0.9999998, z: 1} - - name: Cuello - parentName: Columna_03 - position: {x: -0.0000000037252903, y: 0.18329628, z: 7.3940853e-14} - rotation: {x: 0.000000082812406, y: 0.000000117969485, z: 0.007787665, w: 0.99996966} - scale: {x: 0.9999999, y: 0.9999998, z: 1.0000007} - - name: Cabeza - parentName: Cuello - position: {x: 0.000000018626451, y: 0.14343318, z: -9.7699626e-14} - rotation: {x: 0.0000000648948, y: 0.000000119037246, z: 0.006241818, w: 0.9999805} - scale: {x: 1, y: 1, z: 1} - - name: Cabeza_end - parentName: Cabeza - position: {x: -0, y: 0.20273809, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: Hombro.L - parentName: Columna_03 - position: {x: -0.00210386, y: 0.1416274, z: -0.073280826} - rotation: {x: -0.6856986, y: 0.017300075, z: -0.018353537, w: 0.7274485} - scale: {x: 0.9999999, y: 1, z: 1} - - name: Brazo.L - parentName: Hombro.L - position: {x: 0.0000000025409843, y: 0.09966461, z: -0.000000034663795} - rotation: {x: -0.050977398, y: -0.45966107, z: 0.044047076, w: 0.8855353} - scale: {x: 1, y: 0.99999887, z: 1.0000005} - - name: Antebrazo.L - parentName: Brazo.L - position: {x: -0.000000054948032, y: 0.2725827, z: 0.00000010803342} - rotation: {x: 0.07387245, y: 0.99621654, z: 0.024895824, w: 0.038416505} - scale: {x: 1.0007379, y: 1.3590776, z: 1.0010585} - - name: Mano.L - parentName: Antebrazo.L - position: {x: -0.000000060070306, y: 0.16098997, z: -0.000000015133992} - rotation: {x: -0.0011223755, y: -0.31036788, z: 0.045227095, w: 0.9495394} - scale: {x: 0.9934475, y: 0.7725516, z: 0.99995655} - - name: Mano.L.001 - parentName: Mano.L - position: {x: 0.00000010097574, y: 0.15767318, z: -0.000000004773028} - rotation: {x: -0.042571016, y: 0.02163541, z: -0.020546075, w: 0.9986478} - scale: {x: 1, y: 1, z: 1} - - name: Mano.L.002 - parentName: Mano.L.001 - position: {x: 0.000000023952452, y: 0.058051124, z: 0.000000004656613} - rotation: {x: 0.005982174, y: 0.03531229, z: -0.043732584, w: 0.99840117} - scale: {x: 1, y: 0.99999994, z: 1} - - name: Mano.L.002_end - parentName: Mano.L.002 - position: {x: -0, y: 0.08039722, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: "Me\xF1ique_01.L" - parentName: Mano.L - position: {x: -0.00472321, y: 0.15476093, z: 0.03242034} - rotation: {x: 0.05364036, y: -0.037889473, z: -0.070072934, w: 0.9953778} - scale: {x: 0.9999999, y: 0.99999976, z: 0.9999998} - - name: "Me\xF1ique_02.L" - parentName: "Me\xF1ique_01.L" - position: {x: 0.000000052154064, y: 0.05932621, z: 0.000000018626451} - rotation: {x: -0.03542866, y: -0.014981179, z: -0.025938442, w: 0.9989232} - scale: {x: 0.9999997, y: 0.9999998, z: 0.99999964} - - name: "Me\xF1ique_02.L_end" - parentName: "Me\xF1ique_02.L" - position: {x: -0, y: 0.08106672, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: Pulgar_01.L - parentName: Mano.L - position: {x: 0.013541486, y: 0.12556335, z: -0.042117614} - rotation: {x: -0.30101365, y: -0.62609804, z: 0.21166669, w: 0.68745136} - scale: {x: 1.1134593, y: 1.1990097, z: 1.0084946} - - name: Pulgar_02.L - parentName: Pulgar_01.L - position: {x: 0.000000026077032, y: 0.042269617, z: -0.000000059604645} - rotation: {x: 0.013792315, y: -0.020565977, z: -0.045454092, w: 0.9986595} - scale: {x: 0.99999946, y: 0.9999993, z: 0.99999934} - - name: Pulgar_02.L_end - parentName: Pulgar_02.L - position: {x: -0, y: 0.058084555, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: Hombro.R - parentName: Columna_03 - position: {x: -0.0021038572, y: 0.14162749, z: 0.07328085} - rotation: {x: 0.018353546, y: 0.72744834, z: 0.68569875, w: 0.0173001} - scale: {x: 0.9999999, y: 0.99999976, z: 0.99999976} - - name: Brazo.R - parentName: Hombro.R - position: {x: 8.770371e-10, y: 0.09966461, z: 0.000000014764392} - rotation: {x: -0.06274137, y: 0.4608094, z: -0.029714692, w: 0.8847798} - scale: {x: 0.9999998, y: 0.99999875, z: 1} - - name: Antebrazo.R - parentName: Brazo.R - position: {x: -0.00000011920929, y: 0.28864965, z: -0.000000011175871} - rotation: {x: -0.06333998, y: 0.99676055, z: 0.04912968, w: -0.0065392726} - scale: {x: 0.99998415, y: 0.89680433, z: 0.9999949} - - name: Mano.R - parentName: Antebrazo.R - position: {x: -0.000000070780516, y: 0.21314354, z: 0.000000011175871} - rotation: {x: 0.0004996852, y: 0.24732804, z: -0.016411541, w: 0.96879274} - scale: {x: 1.0014778, y: 1.6206369, z: 1.0000458} - - name: Medio_01.R - parentName: Mano.R - position: {x: 0.00000006263144, y: 0.08295302, z: 0.0000000041909516} - rotation: {x: -0.038885266, y: -0.013438245, z: 0.04273481, w: 0.99823904} - scale: {x: 1, y: 1, z: 1.0000001} - - name: Medio_02.R - parentName: Medio_01.R - position: {x: 0.0000000146683306, y: 0.080804124, z: 0.000000011175871} - rotation: {x: -0.0048433784, y: 0.027171765, z: 0.059989285, w: 0.9978174} - scale: {x: 1, y: 1, z: 1} - - name: Medio_02.R_end - parentName: Medio_02.R - position: {x: -0, y: 0.07312969, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: "Me\xF1ique_01.R" - parentName: Mano.R - position: {x: 0.00969905, y: 0.092213996, z: 0.031450935} - rotation: {x: 0.078423895, y: 0.051225938, z: 0.07880107, w: 0.99247974} - scale: {x: 1.0000001, y: 1.0000001, z: 1.0000001} - - name: "Me\xF1ique_02.R" - parentName: "Me\xF1ique_01.R" - position: {x: -0.00000017601997, y: 0.059326597, z: 0.000000010244548} - rotation: {x: -0.04312434, y: 0.02154905, z: 0.043225337, w: 0.9979016} - scale: {x: 1.0000004, y: 1.0000004, z: 1.0000001} - - name: "Me\xF1ique_02.R_end" - parentName: "Me\xF1ique_02.R" - position: {x: -0, y: 0.08106674, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: Pulgar_01.R - parentName: Mano.R - position: {x: -0.010415063, y: 0.063996255, z: -0.038547985} - rotation: {x: -0.34357402, y: 0.65885717, z: -0.21429184, w: 0.6339899} - scale: {x: 1.2567766, y: 1.13321, z: 1.0230645} - - name: Pulgar_02.R - parentName: Pulgar_01.R - position: {x: -0.000000018626451, y: 0.042269662, z: 0.0000000018626451} - rotation: {x: 0.005388959, y: -0.04855954, z: 0.03873966, w: 0.99805427} - scale: {x: 1.0000001, y: 0.9999999, z: 0.9999999} - - name: Pulgar_02.R_end - parentName: Pulgar_02.R - position: {x: -0, y: 0.054654375, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: Muslo.L - parentName: Control_Cadera - position: {x: 0.015282067, y: 0.08142397, z: -0.05715277} - rotation: {x: -0.05353802, y: 0.019880667, z: -0.05567238, w: 0.9968145} - scale: {x: 1.0000033, y: 1.0000001, z: 1.0000015} - - name: Pierna.L - parentName: Muslo.L - position: {x: -0.0000000041909516, y: 0.29177818, z: -5.820766e-11} - rotation: {x: 0.02865354, y: -0.0047887745, z: 0.14093064, w: 0.98959315} - scale: {x: 0.9999999, y: 0.9999997, z: 1.0000002} - - name: Bone.019.L - parentName: Pierna.L - position: {x: 0.0000000020954758, y: 0.2955653, z: 0.0000000054133125} - rotation: {x: 0.0035674742, y: -0.0000005874613, z: -0.63241196, w: 0.7746241} - scale: {x: 0.9999997, y: 0.9999997, z: 0.9999999} - - name: Bone.020.L - parentName: Bone.019.L - position: {x: -0.0000000020954758, y: 0.07655021, z: 0.0000000019499566} - rotation: {x: -0.0016433989, y: 0.0000007011989, z: -0.1613071, w: 0.9869029} - scale: {x: 1, y: 0.99999994, z: 0.9999998} - - name: Bone.020.L_end - parentName: Bone.020.L - position: {x: -0, y: 0.074432954, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: Muslo.R - parentName: Control_Cadera - position: {x: 0.015282141, y: 0.08480278, z: 0.05437409} - rotation: {x: 0.055045284, y: 0.9979785, z: 0.023327926, w: 0.021556687} - scale: {x: 1.0000033, y: 1.0000001, z: 1.0000021} - - name: Pierna.R - parentName: Muslo.R - position: {x: 0.0000000011641532, y: 0.29177827, z: 5.820766e-11} - rotation: {x: 0.028653778, y: 0.004788498, z: -0.1409314, w: 0.989593} - scale: {x: 0.9999998, y: 0.9999995, z: 0.9999998} - - name: Bone.019.R - parentName: Pierna.R - position: {x: 0.000000012340024, y: 0.2955653, z: 0.0000000069849193} - rotation: {x: 0.0035674411, y: 0.0000010783782, z: 0.6324122, w: 0.7746238} - scale: {x: 0.99999964, y: 0.99999964, z: 0.9999998} - - name: Bone.020.R - parentName: Bone.019.R - position: {x: -1.891749e-10, y: 0.07655019, z: -0.000000004132744} - rotation: {x: -0.001643459, y: -0.0000009974478, z: 0.1613067, w: 0.98690295} - scale: {x: 1, y: 1.0000001, z: 0.9999998} - - name: Bone.020.R_end - parentName: Bone.020.R - position: {x: -0, y: 0.074432954, z: 0} - rotation: {x: 0, y: -0, z: -0, w: 1} - scale: {x: 1, y: 1, z: 1} - - name: SM_Alien_Fuerte - parentName: Armature.001 - position: {x: 0.0027098656, y: -0.025030248, z: 0.9966012} - rotation: {x: 1, y: -0, z: 0, w: -0.0000000754979} - scale: {x: 0.01, y: 0.01, z: 0.01} - 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 - importBlendShapeDeformPercent: 1 - remapMaterialsIfMaterialImportModeIsNone: 0 - additionalBone: 0 - userData: - assetBundleName: - assetBundleVariant: diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset index e1b67fb0..85b514c1 100644 --- a/ProjectSettings/GraphicsSettings.asset +++ b/ProjectSettings/GraphicsSettings.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6736f33dc62c35b0e7a88e275242080bc7a1d94c91154d18fceb332b661a6bce -size 2615 +oid sha256:9c1bb28a2aac0fee9d3cfd844f6f345fe573f18d35a5c9fd3048b9e9a066c4df +size 2568 diff --git a/ProjectSettings/ProjectSettings.asset b/ProjectSettings/ProjectSettings.asset index 79d5048a..8f65470d 100644 --- a/ProjectSettings/ProjectSettings.asset +++ b/ProjectSettings/ProjectSettings.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:85642674db45e68103e514f7d22ff3e4d0f12a345213235a7096f2725b7a4211 -size 25528 +oid sha256:9d4de97e18d5ecb2fb76575e645581bc580fb70ed25094fad241dfc88f51ab80 +size 25375 diff --git a/ProjectSettings/QualitySettings.asset b/ProjectSettings/QualitySettings.asset index f37be098..204c61b5 100644 --- a/ProjectSettings/QualitySettings.asset +++ b/ProjectSettings/QualitySettings.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f1072ea7cbe6f457071659592bf5d9e746e2446aa01b47394b26708dd3c54d60 -size 3723 +oid sha256:a0a4f58097e3ba4f119ec7d8f6150b8fed3d485fd99235e4ffbbd2631bb1b83e +size 3735