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

AngleSegmentCollider limited to a straight line #2

Open
GoogleCodeExporter opened this issue Apr 18, 2016 · 1 comment
Open

AngleSegmentCollider limited to a straight line #2

GoogleCodeExporter opened this issue Apr 18, 2016 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Open Tutorial08.java
2. Change the point limits of a segment collider not to fit the entire screen
3. Run!

What is the expected output? 
An AnglePhysicObject that have a circle collider (the ball) will collide
only over the interval of the segment collider previously modified.

What do you see instead?
The ball collides over all the straight line previously modified (not only
from the startPoint to endPoint segment limits).

What version of the product are you using? On what operating system?
v2.0, Android SDK 1.6

Please provide any additional information below.
I don't know if this is the desired issue, because while debugging with the
AngleViewCollisionsEngine it shows only draws the interval of the segment.

Before trying to fix myself, I would like to know your thoughts. The
problem might be the method closestDist of the AngleSegmentCollider class,
it is called from the AngleCircleCollider to test if it collides (you will
know better than me).

Really good job with with this library! It's awesome how easy it could be.

Original issue reported on code.google.com by campbell.sx@gmail.com on 9 Jan 2010 at 10:17

@GoogleCodeExporter
Copy link
Author

You're right campbell.sx.

Unfortunately I haven't time now to solve this issue but I will fix it as soon 
as I 
can.

Original comment by ipaju...@gmail.com on 13 Apr 2010 at 10:52

  • Changed state: Accepted

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

No branches or pull requests

1 participant