+9

Vector3 Lerp / Slerp Macro

Elin 1 year ago updated by Max Ivanchenko 1 week ago 4

Here is a Simple Lerp / Slerp Macro.

i know, most of you are using itween or DOtween. This macro is really just for a quick test.
The only opportunity is, that you don't need any 3rd party asset or make changes to the bolt type options.

It's not pretty but it works for quick tests.


Download:
Vector3 Lerp / Slerp

Bolt Version:
Unity Version:
.NET Version:

This one uses now the updated toggle flow nodes instead of graph variables and simply lerps an float value.

FloatLerp.asset

FloatLerpSeconds.asset

Thank you very much, Elin!

By the way, the related question - Why not to use the Timer node for that kind of tweens?

As I understand, there is a coroutine inside the Timer. 

Is this any critical issues with optimization and lags when we are using Timer node for many-many times?