Well, it is cumbersome to locate the problem without any hints, just by looking at code. Please construct a simple situation like a segment (0,0) to (10,0) and a circle at (5,0) with radius 1, and write out the resulting values of eDistAtoB (should be 10) and t (should be 5). Further dt should be 1, and hence tMdt == 4 and tAdt == 6. Obviously, this should result in true for both tM and tA. Where does this break, and with which values?
haegarrMember Since 10 Oct 2005
Offline Last Active Oct 04 2015 08:29 AM
Although being a professional programmer for years, game development is just one of my hobbies (nearly as long as programming yet, and that is a loooong time).
- Group Crossbones+
- Active Posts 3,916
- Profile Views 10,677
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown