Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(2 edits)

Thanks! Of course i can help you with it. I'm using 2 pivots for the sword - one for rotation for sword itself and other for rotation around the character. The one that is rotation for sword is a child of the pivot for rotation around character. Then i simply created two animations for left and right swing. And made a script to play right swing when last swing was left etc. Also there is another pivot for rotation around character, so that previous pivot, which rotates around player, is a child of this one. And other script that rotates this pivot where mouse goes! It's a bit hard to explain, but i hope you got it! Write back if u have any problems.

Thanks! Got it clear :D