How Do I Make My Hammer Rotate To Smash A Nail and Come back to its position?
Hi guys! I'm doing a little project with a hammer as the main character. I want him to smash a nail just by rotating on the Y axis at let say 70 degrees, and then come back at its position when I release the button.! Right now I have this, so it is not much. But I believe I need a lerp somewhere, and a variable to store the start position for the hammer to comeback? I believe if I find out this last bit I could be able to do the "Released". Thanks in advance for the tips! I'll continue to experiment on my side! :) alt text
asked Dec 31 '18 at 08:40 AM in Blueprint Scripting
I think a Timeline will be perfect for this. Make a Timeline with a curve like this, for instance:
And then just launch the timeline to hit. You can set it to Loop if you like.
answered Dec 31 '18 at 11:16 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here