【发布时间】:2022-12-08 00:44:19
【问题描述】:
对象移动,但它不会改变它的方向,我不知道为什么。 我认为问题在于,但我不是 100% 确定。
Thats the code for the object named 'zackenblock':
And thats the code from the tilemap:
以下是一些截图:
Screenshot of unity and the object
Screenshot of unity and the tilemap
Screenshot of unity and the tilemap2
物体应该向右移动,当它发生碰撞时再向左移动。
它只会不停地向右移动。
【问题讨论】:
-
嗨 - 你能稍微重新格式化你的问题吗,你应该使用代码块标记将代码包含在问题中,并删除注释掉的代码。查看*.com/help/how-to-ask了解更多信息
-
你可能想看看物理材料。