mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Fix for Issue #114 for Footstep Sounds
This commit is contained in:
parent
028ea19f8c
commit
d6b85a21bb
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue