Skip to main content
5 events
when toggle format what by license comment
Nov 9, 2020 at 19:10 comment added KI. I think I see how this works. This is definitely an approach I hadn't even thought of, thank you for your input.
Nov 9, 2020 at 19:00 comment added Ruther Rendommeleigh The simplest approach would be to set it each frame, e.g. in FixedUpdate do something like recoil *= 0.8f, in Update myAnimation.time = recoil and when the weapon fires, you add your 5 degrees to recoil. Make sense?
Nov 9, 2020 at 18:27 comment added KI. So I make the animation play until a certain point? Like if I make the myAnimation.time = 5, the gun rotates 5 degrees? How would the gun going back down work ? This sounds like an interesting approach though.
Nov 9, 2020 at 18:25 history edited Ruther Rendommeleigh CC BY-SA 4.0
added 66 characters in body
Nov 9, 2020 at 18:16 history answered Ruther Rendommeleigh CC BY-SA 4.0