Page 1 of 1

bug in movementViaRemoteApi.ttt

Posted: 10 Nov 2020, 17:51
by shaile
There is a bug in the threadedBlueArm script of movementViaRemoteApi.ttt scene.
The interpolation in lines 72 73 is erroneous.
The variables l0 l1
local l0=(t-t1)/(t2-t1)
local l1=1-l0
should be swapped like this:
local l1=(t-t1)/(t2-t1)
local l0=1-l1
After swapping the variables the blue arm moves more smoothly.
Same problem in the nonThreadedredArm script.

Re: bug in movementViaRemoteApi.ttt

Posted: 12 Nov 2020, 14:40
by coppelia
Thanks :)