Author Topic: StaticShape Raycasting?  (Read 616 times)

Can you remove Raycasting from a StaticShape? Then again, do StaticShapes even have raycasting?

I'm assuming you mean the containerRayCast function?
In which case it will only search for StaticShapes if you tell it to.

If you need it search for StaticShapes, yet you want to ignore certain ones, just have it search for StaticShapes and if its one you want to ignore, fire another raycast from the StaticShape

Eh..

Well think of it this way.

I have an invisible .dts, staticshape.

When I am looking in the direction of the sun from behind that .dts, the sun is gone.

How do I remove that?

Sorry if I'm being a handicap. :3