【称号坐骑时装】 跳章节修改
parent
8161aca202
commit
365a694eca
|
|
@ -173,7 +173,10 @@ function this.SetRoleWalk(middleFightId)
|
|||
local pos = Vector3.New(oldMainLevelSettingConfig.ChapterRolePosition[1]+30, oldMainLevelSettingConfig.ChapterRolePosition[2]-100,100)
|
||||
local targetPos = tagerPos
|
||||
local speed = 5 -- 越大越慢
|
||||
|
||||
if this.liveNode == nil then
|
||||
this.liveNode = PlayerLiveView:New(Util.GetTransform(root, "mapParent/selectMap/Image (1)/roleRoot"),1)
|
||||
this.liveNode:OnOpen(GetPlayerRoleSingleConFig().Scale5,Vector3.New(0,40,0),WALK_DIR.IDLE_FRONT)
|
||||
end
|
||||
this.liveNode.leader.transform:DOLocalMove(targetPos, speed / 5, false):OnStart(function ()
|
||||
this.SetRoleDirAction(targetPos.x, targetPos.y, pos.x, pos.y)
|
||||
end):OnUpdate(function() --TODO:测试速度
|
||||
|
|
|
|||
Loading…
Reference in New Issue