mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-05-14 09:46:40 +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;
|
||||
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
|
||||
{
|
||||
RayInfo shortest = *info;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue