Proton icon indicating copy to clipboard operation
Proton copied to clipboard

lineRect bug

Open SeminYun opened this issue 7 years ago • 1 comments

if lineRect use 'getSymmetric' , and then sometimes particle move following line.

it is happened direction changed if particle do not go outside of line checking(this.getDistance(p.x, p.y) <= radius) when next frame

and then particle is moved following on line

how do check changed direction

i think direction is changed , there is one more checking about it's changed

SeminYun avatar Oct 25 '18 14:10 SeminYun

image

When I set LineZone upper particles, i got wrong result ..

SeminYun avatar Oct 25 '18 15:10 SeminYun