bug in movementViaRemoteApi.ttt

Report crashes, strange behaviour, or apparent bugs
Post Reply
shaile
Posts: 1
Joined: 09 Nov 2020, 18:19

bug in movementViaRemoteApi.ttt

Post 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.

coppelia
Site Admin
Posts: 10339
Joined: 14 Dec 2012, 00:25

Re: bug in movementViaRemoteApi.ttt

Post by coppelia »

Thanks :)

Post Reply