Tell me if you found a way to have a good working and looking knockback.
I also tried force effects. But I don't want the force effect to push my unit around other units, objects or unpathable terrain. That just looks stupid.
But my attempts to code a knockback failed more or less. But as long as I have ideas how I could do it, I will keep on trying :D
Am I even right asuming that you want a straight-line knockback, with a fixed duration or speed which stops when hitting objects? If not, then it's probably easier to do this by using a buff which periodically pushs the unit back for some seconds.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Tell me if you found a way to have a good working and looking knockback.
I also tried force effects. But I don't want the force effect to push my unit around other units, objects or unpathable terrain. That just looks stupid.
But my attempts to code a knockback failed more or less. But as long as I have ideas how I could do it, I will keep on trying :D
Am I even right asuming that you want a straight-line knockback, with a fixed duration or speed which stops when hitting objects? If not, then it's probably easier to do this by using a buff which periodically pushs the unit back for some seconds.