Fix for Issue #114 for Footstep Sounds

This commit is contained in:
DavidWyand-GG 2012-11-05 19:04:49 -05:00
parent 028ea19f8c
commit d6b85a21bb

View file

@ -616,6 +616,7 @@ bool TerrainBlock::castRay(const Point3F &start, const Point3F &end, RayInfo *in
// Set intersection point.
info->setContactPoint( start, end );
getTransform().mulP( info->point ); // transform to world coordinates for getGridPos
// Set material at contact point.
Point2I gridPos = getGridPos( info->point );