Swinging a sword without an animation...

I am curious about the ways a player can swing a sword upon left-clicking, without an animation, but via using a script. Is this possible? How are some simple ways of approaching this?

(please consider that all my work is in c#, although a bit of java doesn’t hurt…)

Thanks in advance!

It is 3D, but all I want is the simplest way to implement this - I am an experienced 3D modeler and animator, but I have little or no experience with unity's animator...

1 Answer

1

yea sure you could fairly easy

just place the sword where you’d want it to start
note the LOCAL position
(thats parent position - object position)

place it where you want it at the next step
note the LOCAL position

continue essentially marking off key locations

slerp from a to b to c

thats pretyt much have animation software does it

Amazing - thanks dude! Saved me a lot of time!