Made the hurt hazard work better.

This commit is contained in:
YourWishes committed 2023-04-01 23:52:34 -07:00
1 parent 9167c7a88a
commit fdb1c69775
17 files changed
+141 -68

No files matched your search

+13 -4
View File
@@ -1,10 +1,19 @@
<prefab name="Urchin" type="">
<MeshRenderer />
<CapsuleMeshHost />
<MeshRenderer />
<SimpleTexturedMaterial ref="material" />
<CharacterController2D />
<BoxCollider />
<EntityHealth />
<HurtHazard />
<EntityFaction faction="FACTION_ENEMY" />
<child>
<BoxCollider min="-0.4, -0.4" max="0.4, 0.4" />
<SolidController2D />
</child>
<child>
<BoxCollider />
<TriggerController2D ref="hurtTrigger" />
</child>
<HurtHazard trigger="hurtTrigger" />
</prefab>
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB