Linear Tween

Tween between start and end values over a given duration. Use it as the starting point for your own custom tweens or drop it on an object and configure thusly:

  • tweenTarget: UdonBehaviour with property you want to update
  • tweentargetProperty: Name of Property to update (should be a float for now)
  • tweenStart / tweenEnd: Values to stream to target Property.
  • tweenDuration: Duration of tween in seconds (float)

So you can pop this in your scene, and have whatever action you want set its start and end values and duration, then send a ‘startTween’ event to kick it off.

Graph Code

AO1b227bRhD9lYDPWmPvlwB5aJO0MJpeUDt+KQJj9paolSmDotIaab6sD/2k/kKHtKU4IatsYjuh3cB+ECWaHM3sOXPOLP3PX3+/ql7CYp2q+7+8qvJ6sfgBTvCgevwy1e3xw/WqXZ5Us2o9j/im01kkHTKhUiUiPVACSgQSDRPBB20EzXjy6XI1b+fLurr/qvqjuk/36Kw6q+4T4fQefT2r6mVMT/cfrfCeVfVsVuXF8vfNsVXaSJksoSFEIi3zxDEXSA6UKic590J1f9Nd46gLfNVHvq7n7dmP/tcU2qPzr/OqmterFuqQ9h9hDHjbVdvM6+cXH1cHZ6s2newd9G/O7p2swrJZzP3s3lFqVhj8A7lHu5/ZvYfrRbtu0oM6rdsGFrN7P639Yh6+S2eHy99S/cAbAyoozZyQiVr3J962aQ9/T6muXj97PXsrr0fQzMEv0vH5/c9vv01wYMp5hrlVyjkigwnESkmJD05DEEHFBMMEE674Jsdcy2GOZ5d+3873xDN52ixPU9Oe9cnrMjmp6NquxIfQPE/tTxeBXi3Ir5fLRYL6eqM8bNZXzN2NhPUNLFYfG9cQVt+m9ngDrS2aEESUOxeJl4wSmZUkTnNLFBMxR2VFziN0xbjQF2jidARMtwpARYRSlk0pGLWgItHKeCIjKGKTdiR65H0ZTcg87cwmE/yWZ9MmLrmRgjAdFJEggYAJuKAcD0i8nirGd1D+0c8Pn8Zl/XB5crKs9+s2NRlCWu13b/b99ucU0vxlarY5L7rhzn4gqf3U/WDSRD1BJvxfEHTx2t87Pj7o++nzBk620HlLLl0cnEe0+ehoiYjZ4CZT8MpnJKdAA5EuK2R+lonPS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