【发布时间】:2022-11-14 00:20:57
【问题描述】:
所以我正在尝试制作一个移动到地图上某个点的小机器人 这是我的代码:
local character = script.Parent
local humanoid = character.Humanoid
local testpoint = character.Parent.Points["End Part 2"].Position
humanoid:MoveTo(testpoint)
humanoid.MoveToFinished:Connect(function()
print("Reached Dest")
end)
当我启动游戏时,虚拟模型根本不动(即使 WalkToPoint 已正确设置)
然后几秒钟后,消息Reached Dest 在控制台中打印,但人形机器人没有移动。
我不知道为什么会这样,请你帮帮我。
太感谢了。
【问题讨论】: