Best way to do sword swing
Triangularity Games
Founder/OwnerMarylandMember Posts: 140
What would be the best way of achieving a sword swing? Would you have a sword actor and animate it separately, or simply have the player animated with an invisible sword actor? I'm basically trying to make a sword swing down and reset once the swing is over...any advice/help would be greatly appreciated. Thanks in advance!
Comments
Found somewhat of a solution. "Rotate to angle" makes a swing effect, and using "move to" to line it up with where the player would be swinging has a somewhat useful swing effect
triangularitygames.com
Even better way is to simply "rotate to angle" quickly, and then change the center of mass on the sword to near the handle end (a few pixels about where the handle would be) and the effect is perfect
triangularitygames.com
The simplest way and the better way is to do it with animation and spawning an invisible actor
Yes. That's the typical way to do it. Also animate for running, jumping, die.......
Try my custom collision shape animations. You can select just the sword as your collision shape. See the videos on my youtube.
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS