sa0017 / angle

Automatically exported from code.google.com/p/angle
0 stars 0 forks source link

AngleSegmentCollider limited to a straight line #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
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 commented 8 years ago
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