Made player launch when hit

Needs fixing
This commit is contained in:
Pasha Bibko
2025-11-20 15:44:07 +00:00
parent 07de9b4fe9
commit 80c625ffc8
4 changed files with 56 additions and 5 deletions

View File

@@ -134,6 +134,7 @@ GameObject:
- component: {fileID: 104400497}
- component: {fileID: 104400501}
- component: {fileID: 104400500}
- component: {fileID: 104400502}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
@@ -158,8 +159,10 @@ MonoBehaviour:
m_DistanceFromCentre: 0
m_DistanceAlongRadius: 0
m_ObjectRadius: 0
m_IsAttachedToRings: 0
m_Behaviour: {fileID: 0}
m_SpinSpeed: 0
m_Body: {fileID: 104400502}
--- !u!4 &104400498
Transform:
m_ObjectHideFlags: 0
@@ -225,6 +228,33 @@ MeshFilter:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 104400496}
m_Mesh: {fileID: 10207, guid: 0000000000000000e000000000000000, type: 0}
--- !u!50 &104400502
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 104400496}
m_BodyType: 0
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 0
--- !u!1 &519420028
GameObject:
m_ObjectHideFlags: 0