This commit is contained in:
2024-09-23 08:14:39 +08:00
parent 96c96da552
commit 618a6e3f7b
65 changed files with 38950 additions and 8530 deletions

View File

@@ -64,7 +64,7 @@ export class SkillCom extends CCComp {
time = distance / this.speed;
let e_pos=v3(this.node.position.x+this.t_pos.x,this.node.position.y+this.t_pos.y)
this.node.getChildByName("skill").setRotationFromEuler(0,0,this.angle)
console.log("skill ",this.node.getRotation())
// console.log("skill ",this.node.getRotation())
tween(this.node).to( time,{ position: e_pos},
{
easing: "linear",