Hi!
I’m a newbie in Unreal and here is the main concept for this weapon control system:
While holding a melee weapon( sword, knife, etc.) and focusing on enemy, Player should be able to control weapon’s position and rotation in camera space. Also he should be able to perform slash attack.
I attached weapon instance to special scene component, parented to the player camera(attachment was made by SetActorLocationAndRotation in Tick node).
Weapon movement is based on mouse delta, rotation can be performed by pressing certain keys. I also tried to use PlayAnimation to perform attack, but it isn’t working at all.
Now I realized that this system is not good for physic simulation(when sword goes through wall or enemy sword it starts to make some crazy stuff).
Maybe there is another way of doing all mentioned above?
Please, write some ideas of how this should work, because now I’m in complete dead end