mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-02 12:03:51 +00:00
hooks meshroads up to the material system for castrays (at a minimum, sound playback)
This commit is contained in:
parent
bc44aba31c
commit
f4d40bf1b0
1 changed files with 1 additions and 1 deletions
|
|
@ -1552,7 +1552,7 @@ bool MeshRoad::castRay( const Point3F &s, const Point3F &e, RayInfo *info )
|
|||
info->point.interpolate(start, end, out);
|
||||
info->face = -1;
|
||||
info->object = this;
|
||||
|
||||
info->material = this->mMatInst[0];
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue