No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm writing a collision algorithm based on the Separating Axis Theorem that works like so for each side: - Gets the separating axis of the side - Measures the object's width on that axis and places the width on the axis. - Measures/places width for object that is being collision-tested. … | |
I'm in the process of writing a 2D physics engine in Java, and am trying to figure out the algorithm for the most basic of all physics tasks: Object collision. Detecting collision between two circles is easy: check if the distance between their centers is less than or equal to … |