HowTo: Physics-Based TweenService

you are actually insane for figuring this out lmfao

1 Like

Update: I realized I had incorrect calculations for _alpha to wrap back to 0

Instead of

_alpha += (deltaTime/tweenTime) % 1

It needed to be

_alpha += (deltaTime/tweenTime)
_alpha %= 1 -- This wraps _alpha between 0 and 1

If you’ve been trying the example code and it wasn’t working properly, this is probably why. The code has been corrected.

Also I have yet to reply with my physics updates to make this support irregularly-shaped assemblies.