Tiny bug fix.
This commit is contained in:
@@ -521,7 +521,6 @@ bool AABBvsTriangle(const AABB& box,
|
||||
if (!isOnGround) {
|
||||
boxVelocity = boxVelocity - glm::dot(boxVelocity, projNorm) * projNorm;
|
||||
}
|
||||
isOnGround = false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user