-
Creator 版本:2.0.2
-
目标平台: 模拟器
-
之前哪个版本是正常的 :1.9.3
-
出现概率:必现
划线角度很小的时候出现毛刺

Creator 版本:2.0.2
目标平台: 模拟器
之前哪个版本是正常的 :1.9.3
出现概率:必现
划线角度很小的时候出现毛刺

你需要@官方大佬
在看了,这个部分我不是很了解,可能要晚点才能回复你。
repheal 目前这个仓库的内容根据开发者本人的意思是,停止维护了,所以可能短时间内您的这个问题不能得到很好的解决。
@crazypad c.Graphics 组件也会的
问题应该是出在lineWidth 和 线段转角的计算上
this.draw = this.getComponent(cc.Graphics)
this.draw.lineWidth = 30
this.draw.moveTo(10, 100);
for (let i = 0; i < 20; i++) {
this.draw.lineTo(9*(i%2*2-1),100-10*i);
}
this.draw.stroke();
大佬,现在可以解决这个问题了么?
我试了一下官方的pr : // Check whether dm length is too long
let dmwx = p1.dmx * w;
let dmwy = p1.dmy * w;
let dmlen = dmwxdmwx + dmwydmwy;
if (dmlen > (p1.len * p1.len) || dmlen > (p0.len * p0.len)) {
p1.flags |= PointFlags.PT_INNERBEVEL;
}
creator 版本: 2.3.1
好像还是不行
已修复,位置放错了