【求教】如何让obj的方向面向鼠标?
gamemaker吧
全部回复
仅看楼主
level 5
AiurTemplar 楼主
我打算在step中用Transform the sprite动作来实现,可角度不知道要怎么填?用arctan2函数还是用什么其他方法能实现这一效果呢?
2011年05月16日 05点05分 1
level 7
point_direction(x1,y1,x2,y2);返回坐标点(1->2)之方向
2011年05月16日 07点05分 2
level 5
AiurTemplar 楼主
嗯,我已经搞定了
2011年05月16日 08点05分 3
1