Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lineRect bug #59

Open
SeminYun opened this issue Oct 25, 2018 · 1 comment
Open

lineRect bug #59

SeminYun opened this issue Oct 25, 2018 · 1 comment

Comments

@SeminYun
Copy link

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
Copy link
Author

image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant