Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88774

知道两个点,,怎么在二点之间画出抛物线

$
0
0

@304486632 写道:

            var bezier = [cc.v2((jidan)),cc.v2(bsspose),cc.v2(bsepose),cc.v2(this.pose[i*3+j])];
             var bezierForward = cc.bezierTo(3, bezier);
             jidan.runAction(bezierForward);

用贝塞尔函数,,画出来一直是直线。中间二个控制点怎么计算,,求大神帮忙

帖子: 2

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88774

Trending Articles