Made the hurt hazard work better.
This commit is contained in:
@ -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>
|
BIN
assets/games/rose/textures/Urchin.png
Normal file
BIN
assets/games/rose/textures/Urchin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.7 KiB |
Reference in New Issue
Block a user