mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
Fix for Issue #114 for Footstep Sounds
This commit is contained in:
parent
028ea19f8c
commit
d6b85a21bb
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue