diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index a34079c..3e08128 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1891,6 +1891,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
1891 | EventManager.TriggerPrimsLoaded(this); | 1891 | EventManager.TriggerPrimsLoaded(this); |
1892 | } | 1892 | } |
1893 | 1893 | ||
1894 | public bool SuportsRayCastFiltered() | ||
1895 | { | ||
1896 | if (PhysicsScene == null) | ||
1897 | return false; | ||
1898 | return PhysicsScene.SuportsRaycastWorldFiltered(); | ||
1899 | } | ||
1900 | |||
1901 | public object RayCastFiltered(Vector3 position, Vector3 direction, float length, int Count, RayFilterFlags filter) | ||
1902 | { | ||
1903 | if (PhysicsScene == null) | ||
1904 | return null; | ||
1905 | return PhysicsScene.RaycastWorld(position, direction, length, Count,filter); | ||
1906 | } | ||
1894 | 1907 | ||
1895 | /// <summary> | 1908 | /// <summary> |
1896 | /// Gets a new rez location based on the raycast and the size of the object that is being rezzed. | 1909 | /// Gets a new rez location based on the raycast and the size of the object that is being rezzed. |