Fixes demon & Giant
This commit is contained in:
@@ -4948,7 +4948,6 @@ GameObject:
|
||||
m_Component:
|
||||
- component: {fileID: 7058331355936229169}
|
||||
- component: {fileID: 1024337125332675931}
|
||||
- component: {fileID: -42539312977873233}
|
||||
m_Layer: 0
|
||||
m_Name: DemonShield
|
||||
m_TagString: Untagged
|
||||
@@ -4964,9 +4963,9 @@ Transform:
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4089514887418515818}
|
||||
serializedVersion: 2
|
||||
m_LocalRotation: {x: -0, y: 0.6895887, z: -0, w: 0.72420126}
|
||||
m_LocalPosition: {x: -34.021095, y: 41.496, z: -60.96627}
|
||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_LocalPosition: {x: 0, y: 0, z: 0}
|
||||
m_LocalScale: {x: 1.5, y: 1.5, z: 1.5}
|
||||
m_ConstrainProportionsScale: 0
|
||||
m_Children:
|
||||
- {fileID: 4233265158678323538}
|
||||
@@ -4976,7 +4975,7 @@ Transform:
|
||||
- {fileID: 246192023928898687}
|
||||
- {fileID: 3950270626124424465}
|
||||
m_Father: {fileID: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 87.195, z: 0}
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
--- !u!136 &1024337125332675931
|
||||
CapsuleCollider:
|
||||
m_ObjectHideFlags: 0
|
||||
@@ -4996,37 +4995,10 @@ CapsuleCollider:
|
||||
m_ProvidesContacts: 0
|
||||
m_Enabled: 1
|
||||
serializedVersion: 2
|
||||
m_Radius: 2
|
||||
m_Height: 2
|
||||
m_Radius: 2.5
|
||||
m_Height: 2.5
|
||||
m_Direction: 1
|
||||
m_Center: {x: 0, y: 1.25, z: 0}
|
||||
--- !u!54 &-42539312977873233
|
||||
Rigidbody:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 4089514887418515818}
|
||||
serializedVersion: 4
|
||||
m_Mass: 1000
|
||||
m_Drag: 0
|
||||
m_AngularDrag: 0.05
|
||||
m_CenterOfMass: {x: 0, y: 0, z: 0}
|
||||
m_InertiaTensor: {x: 1, y: 1, z: 1}
|
||||
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
m_IncludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ExcludeLayers:
|
||||
serializedVersion: 2
|
||||
m_Bits: 0
|
||||
m_ImplicitCom: 1
|
||||
m_ImplicitTensor: 1
|
||||
m_UseGravity: 1
|
||||
m_IsKinematic: 1
|
||||
m_Interpolate: 0
|
||||
m_Constraints: 0
|
||||
m_CollisionDetection: 0
|
||||
m_Center: {x: 0, y: 1, z: 0}
|
||||
--- !u!1 &5185508652979790054
|
||||
GameObject:
|
||||
m_ObjectHideFlags: 0
|
||||
|
||||
@@ -138,12 +138,6 @@ namespace DemonBoss.Magic
|
||||
spawnedShield = LeanPool.Spawn(shieldFXPrefab, spawnPosition, spawnRotation);
|
||||
|
||||
if (enableDebug) Debug.Log($"[SA_CastShield] Shield spawned at NPC position: {spawnPosition}");
|
||||
|
||||
// Parent the shield to the NPC so it moves with them
|
||||
if (spawnedShield != null)
|
||||
{
|
||||
spawnedShield.transform.SetParent(npcTransform);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user