|
Post by cursedereaper on Jun 15, 2019 22:38:59 GMT
Is it possible to make a block to make a Recoil on the Attacker? I'd really like my Character to trigger a recoil animation on the attackers if they hit it.
|
|
|
Post by shadex on Jun 17, 2019 0:48:23 GMT
Is it possible to make a block to make a Recoil on the Attacker? I'd really like my Character to trigger a recoil animation on the attackers if they hit it. Yes
|
|
|
Post by cursedereaper on Jun 19, 2019 12:04:59 GMT
And what would be the way to do it. Do I need to customize the script or is there a certain value/bool I need to set? Is There a threat that explains who it is done? Or do I need to figure it out myself?
|
|
|
Post by Invector on Jun 19, 2019 19:34:09 GMT
I explain a little bit about recoil/reaction in this tutorial, we also have this information in the online documentation ;)
|
|
|
Post by cursedereaper on Jun 20, 2019 1:35:02 GMT
I already worked so far and added a recoil ID and my enemy plays it if it hits e.g. a wall. But it never plays it when the player blocks. So Do I need a collider on my characrer to trigger the recoil? I tried that as well and when the Enemy hits the character but recoils then the block doesn't cost stamina (Resources) and a to big collider on the Character that is active while blocking will causes the enemy to stop detecting the player.
So my problem spirals arround how to make the blocking character trigger the recoil without interfering with the functionality of the block. Does the Shild trigger a special recoil on the enemies? Is there a scene where I can find how that is set up if it triggers a recoil?
|
|