Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Math
  5. lerp

lerp

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Get a lerp result between a and b

Parameters:

  • start
    • A float value
  • end
    • A float value
  • t
    • A float value

returns a Float (decimal number) value

Example:

1
obj.lerp(start, end, t)
Tags
Was this article helpful to you? Yes No

How can we help?