摘要:
【2.5d坐标转换成2d坐标】:sx=x-z;sy=y*1.2247+(x+z)*.5;【2d坐标转换成2.5d坐标】:x=sy+sx/2y=0z=sy-sx/2【转换坐标类】:publicclassPoint3D{publicvarx:Number;publicvary:Number;publi... 阅读全文
posted @ 2012-10-15 18:22
真阿当
阅读(146)
评论(0)
推荐(0)
摘要:
1)寻找:publicfunctionseek(target:Vector2D):void{vardesiredVelocity:Vector2D=target.subtract(_position);desiredVelocity.normalize();desiredVelocity=desi... 阅读全文
posted @ 2012-10-15 16:31
真阿当
阅读(159)
评论(0)
推荐(0)
浙公网安备 33010602011771号