Made sword "work"
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<prefab name="SwordHitbox" type="">
|
||||
<CharacterController2D />
|
||||
<BoxCollider />
|
||||
<HurtHazard ref="hazard" />
|
||||
<TriggerController2D ref="trigger" />
|
||||
<HurtHazard trigger="trigger" />
|
||||
</prefab>
|
@ -5,6 +5,9 @@
|
||||
<EntityHealth />
|
||||
<EntityFaction faction="FACTION_ENEMY" />
|
||||
|
||||
<CharacterController2D />
|
||||
<BoxCollider />
|
||||
|
||||
<child>
|
||||
<BoxCollider min="-0.4, -0.4" max="0.4, 0.4" />
|
||||
<SolidController2D />
|
||||
|
Reference in New Issue
Block a user