Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
究竟是什么触发了电晕 lua 脚本中的“反弹”事件(event.phase ==“反弹”)。我添加了一个带有物理特性的精灵,它从地面反弹(在屏幕上),但是这个事件阶段没有被触发,即使其他事件阶段被触发(“开始”、“结束”等)。
该"bounce"事件在精灵动画在播放过程中由向前变为向后改变方向时触发,它与物理碰撞阶段无关,可以是"began"和"ended"。
"bounce"
"began"
"ended"