This commit is contained in:
spatialfree 2022-10-03 16:54:23 -04:00
parent a8459bd428
commit 5afb8eb097

View file

@ -3,14 +3,12 @@ input
from = [pos, ori]
data
cursor
init
# fade in if needed
cursor = [0, 0, 0]
frame
vec = to.pos - from.pos
len = vec.length
stretch = max(len - deadzone, 0)
dir = pointer ? to.ori * v3.fwd : vec / len