So whenever I use something like this:
v3.x#=limb position x(3,1)
v3.y#=limb position y(3,1)
v3.z#=limb position z(3,1)
set object frame 3,object frame(3)+10
v3.x#=v3.x#-limb position x(3,1)
v3.y#=v3.y#-limb position y(3,1)
v3.z#=v3.z#-limb position z(3,1)
dist#=(v3.x#*v3.x#)+(v3.y#*v3.y#)+(v3.z#*v3.z#)
It always returns 0, because the
limb position commands return the same value, even though the frame is different. Only when I do this:
v3.x#=limb position x(3,1)
v3.y#=limb position y(3,1)
v3.z#=limb position z(3,1)
set object frame 3,object frame(3)+10
sync
v3.x#=v3.x#-limb position x(3,1)
v3.y#=v3.y#-limb position y(3,1)
v3.z#=v3.z#-limb position z(3,1)
dist#=(v3.x#*v3.x#)+(v3.y#*v3.y#)+(v3.z#*v3.z#)
does it have an effect... Why is this? How can I fix it? Thanks,
TheComet