getLocalPosition()).to({x: 10, y: 0, z: 0}, 1, pc.SineOut);. Here is an example on how to tween the local position of an Entity: duration. easing.
確定! 回上一頁