0 Members and 3 Guests are viewing this topic.
.Ball move{B-1}+{B-3}→{B-1} .move X{B}+{B-2}→{B} .move YIf -2>=>={B-1} or ({B-1}>=>=90) 0-{B-3}→{B-3}EndIf -4>=>={B} or ({B}>=>=56) 0-{B-2}→{B-2}Endwhere:{B-3} = xvel{B-2} = yvel{B-1} = x{B} = y
{====______}
{=========_}
.Ball move{B-1}+{B-3}→{B-1} .move X{B}+{B-2}→{B} .move YIf -2>=>=sign{B-1} or (sign{B-1}>=>=90) 0-{B-3}→{B-3}EndIf -4>=>=sign{B} or (sign{B}>=>=56) 0-{B-2}→{B-2}Endwhere:{B-3} = xvel{B-2} = yvel{B-1} = x{B} = y