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