Hello,
I'm trying to set up my character with an Axe that can block or parry. I followed the item pickup video to set up the item similar to what the Katana looks like in the demo. I attached the Shield Collider script to the 3rd person prefab so when the Axe is picked up the 3rd person prefab has the correct component. ( I'm using the Katana as a template and it looks like it was created the same way) The item itself has the Shield script attached.
The issue is that the shield collider script on the 3rd person Axe is asking for an object reference and after one swing will enable the collider on the 3rd person Axe. The object reference is specific to a shield object here on the character. It looks like it's asking for a shield object reference but the item attaches and is part of the parent.
I don't know what it's trying to reference on the character controller. When I look at Nolan in the demo scene, he will parry with the sword or katana but I cannot seem to replicate it.
Any pointers?
I'm trying to set up my character with an Axe that can block or parry. I followed the item pickup video to set up the item similar to what the Katana looks like in the demo. I attached the Shield Collider script to the 3rd person prefab so when the Axe is picked up the 3rd person prefab has the correct component. ( I'm using the Katana as a template and it looks like it was created the same way) The item itself has the Shield script attached.
The issue is that the shield collider script on the 3rd person Axe is asking for an object reference and after one swing will enable the collider on the 3rd person Axe. The object reference is specific to a shield object here on the character. It looks like it's asking for a shield object reference but the item attaches and is part of the parent.
I don't know what it's trying to reference on the character controller. When I look at Nolan in the demo scene, he will parry with the sword or katana but I cannot seem to replicate it.
Any pointers?