diff options
author | Melanie | 2013-01-23 21:03:24 +0000 |
---|---|---|
committer | Melanie | 2013-01-23 21:03:24 +0000 |
commit | c1795ed399c187ba739bc271c6837e26b9bfdf3d (patch) | |
tree | 07b8c0a82aaba88d79766bbb610b525449077e3b /OpenSim/Region/Framework/Scenes | |
parent | Remove the return value from llGiveMoney and add llTransferLindenDollars. Also (diff) | |
download | opensim-SC-c1795ed399c187ba739bc271c6837e26b9bfdf3d.zip opensim-SC-c1795ed399c187ba739bc271c6837e26b9bfdf3d.tar.gz opensim-SC-c1795ed399c187ba739bc271c6837e26b9bfdf3d.tar.bz2 opensim-SC-c1795ed399c187ba739bc271c6837e26b9bfdf3d.tar.xz |
Add the Avination physics raycast glue so Core Physics can implement raycast
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 5778176..f2cb117 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -1983,6 +1983,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
1983 | EventManager.TriggerPrimsLoaded(this); | 1983 | EventManager.TriggerPrimsLoaded(this); |
1984 | } | 1984 | } |
1985 | 1985 | ||
1986 | public bool SupportsRayCastFiltered() | ||
1987 | { | ||
1988 | if (PhysicsScene == null) | ||
1989 | return false; | ||
1990 | return PhysicsScene.SupportsRaycastWorldFiltered(); | ||
1991 | } | ||
1992 | |||
1993 | public object RayCastFiltered(Vector3 position, Vector3 direction, float length, int Count, RayFilterFlags filter) | ||
1994 | { | ||
1995 | if (PhysicsScene == null) | ||
1996 | return null; | ||
1997 | return PhysicsScene.RaycastWorld(position, direction, length, Count,filter); | ||
1998 | } | ||
1986 | 1999 | ||
1987 | /// <summary> | 2000 | /// <summary> |
1988 | /// Gets a new rez location based on the raycast and the size of the object that is being rezzed. | 2001 | /// Gets a new rez location based on the raycast and the size of the object that is being rezzed. |