Upfront, I am not an expert. But I was thinking, if your goal is to find the collision point closest to the desired destination, given that you're working with AABBs there are only two directions you can take to get closer to the destination. Find the initial collision point, then try going in one of the two cardinal directions from that collision point. If you travel right from the "crack" in the diagram above there should be no collision.
jefferytitanMember Since 03 Nov 2009
Offline Last Active Sep 05 2013 06:58 PM
- Group Members
- Active Posts 650
- Profile Views 3,480
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
jefferytitan hasn't added any contacts yet.