Timeline for Deceleration via Lerping
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 2, 2022 at 19:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Dec 3, 2021 at 22:03 | comment | added | Yorik |
I think the problem lies in "reversing this code," and you haven't indicated what you tried. Just by a quick look, perhaps to decelerate, you would use 1-accelfraction when lerping for current speed.
|
|
Dec 3, 2021 at 19:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
Nov 3, 2021 at 18:24 | answer | added | Philipp | timeline score: 1 | |
Nov 2, 2021 at 21:31 | comment | added | Cato | In my case the acceleration is uniform and occurs in a circular motion, over a defined angular coverage. In the above example from 0 to 180 degrees but I would like this to variable, which the above code provides. This solution works perfectly for acceleration but I just cannot get it to work the opposite way round for deceleration. I have never used animation curves before as I tend to just go with math. | |
Nov 2, 2021 at 19:43 | history | edited | Cato | CC BY-SA 4.0 |
edited title
|
Nov 2, 2021 at 17:58 | comment | added | DMGregory♦ | Have you considered using AnimationCurves for this, to author the exact shape of acceleration curve you want? | |
Nov 2, 2021 at 12:13 | history | asked | Cato | CC BY-SA 4.0 |