mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
Merge pull request #1732 from Sir-Skurpsalot/tsStatic_fix
Update tsStatic.cpp
This commit is contained in:
commit
58d6038016
1 changed files with 4 additions and 0 deletions
|
|
@ -1188,6 +1188,10 @@ bool TSStatic::castRay(const Point3F& start, const Point3F& end, RayInfo* info)
|
||||||
info->material = NULL;
|
info->material = NULL;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
else if (mDecalType == VisibleMesh) //if we want decals at high fidelity, probly want the same for sounds, projectles, ect
|
||||||
|
{
|
||||||
|
return castRayRendered(start, end, info);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RayInfo shortest = *info;
|
RayInfo shortest = *info;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue