What steps will reproduce the problem?
1. In the updating code, perform a raycast.
2.
3.
What is the expected output? What do you see instead?
Raycast should work, random failures happen.
What version of the product are you using? On what operating system?
Please provide any additional information below.
Fix:
in AABB class in collision package change method
public final void getExtentsToOut(final Vec2 out) {
out.x = (upperBound.x - lowerBound.x) * .5f;
out.x = (upperBound.y - lowerBound.y) * .5f;
}
to
public final void getExtentsToOut(final Vec2 out) {
out.x = (upperBound.x - lowerBound.x) * .5f;
out.y = (upperBound.y - lowerBound.y) * .5f;
}
Original issue reported on code.google.com by FDN1...@gmail.com on 27 Apr 2011 at 9:35
Original issue reported on code.google.com by
FDN1...@gmail.com
on 27 Apr 2011 at 9:35