|TargetMin|FloatQ| The minumum rotation value when <code>Source</code> is at <code>SourceMin</code>'s value.
|TargetMin|FloatQ| The minumum rotation value when <code>Source</code> is at <code>SourceMin</code>'s value.
|TargetMax|FloatQ| The maximum rotation value when <code>Source</code> is at <code>SourceMax</code>'s value.
|TargetMax|FloatQ| The maximum rotation value when <code>Source</code> is at <code>SourceMax</code>'s value.
|AllowReverseMapping|Bool| Whether changes to <code>Target</code> map in the reverse direction and get applied to target.
|AllowReverseMapping|Bool| Whether changes to <code>Target</code> map in the reverse direction and get applied to target. See [[Drives#Write Backs|write backs]].
|Clamp|Bool| Whether to allow extrapolation of the lerped data or to keep it within the values specified.
|Clamp|Bool| Whether to allow extrapolation of the lerped data or to keep it within the values specified.
}}
}}
Latest revision as of 18:24, 17 February 2025
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Linear Rotation Mapper component as seen in the Scene Inspector
The LinearRotationMapper component is used to map a float range to a rotation range using lerp.
Whether to allow extrapolation of the lerped data or to keep it within the values specified.
Examples
Can be used to make an object spin as a slider is slid. Then can also be used to rotate the object that in turn affects the slider if AllowReverseMapping is enabled.