Use proper rotation for computing local aabb for convex cast shape.

Propagate hit point from convex caster to world callback [work in progress].
This commit is contained in:
johnmccutchan
2007-12-07 21:22:38 +00:00
parent 68af58c09d
commit 513a055035
7 changed files with 33 additions and 32 deletions

View File

@@ -148,6 +148,7 @@ bool btGjkConvexCast::calcTimeOfImpact(
//degeneracy, report a hit
result.m_fraction = lastLambda;
result.m_normal = n;
result.m_hitPoint = pointCollector.m_pointInWorld;
return true;
}
c = pointCollector.m_pointInWorld;
@@ -165,6 +166,7 @@ bool btGjkConvexCast::calcTimeOfImpact(
result.m_fraction = lastLambda;
result.m_normal = n;
result.m_hitPoint = c;
return true;
}
}