📜  algodoo 中的传送器 - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:10.098000             🧑  作者: Mango

代码示例1
onCollide = copy that one --> (e)=>{e.other.pos = [0, 0]} for circle (marble) position in Algodoo

block1 - onCollide = copy --> (e)=>{e.other.pos = scene.my.tpNo1} then for block 2 - onCollide = copy --> (e)=>{scene.my.tpNo1 = pos}   and turn off collision layers