OpenSim/Region/Physics/OdePlugin/OdeScene.cs
/// <summary>
/// Creates a new space at X Y
/// </summary>
/// <param name="iprimspaceArrItemX"></param>
/// <param name="iprimspaceArrItemY"></param>
/// <returns>A pointer to the created space</returns>
Creates a new space at X Y
Creates a new space at X Y
internal IntPtr createprimspace(int iprimspaceArrItemX, int iprimspaceArrItemY)
        {
            staticPrimspace[iprimspaceArrItemX, iprimspaceArrItemY] = d.HashSpaceCreate(IntPtr.Zero);
            d.GeomSetCategoryBits(staticPrimspace[iprimspaceArrItemX, iprimspaceArrItemY], (int)CollisionCategories.Space);
            d.SpaceSetSublevel(space, 1);
            d.SpaceAdd(space, staticPrimspace[iprimspaceArrItemX, iprimspaceArrItemY]);
            return staticPrimspace[iprimspaceArrItemX, iprimspaceArrItemY];
        }
internal IntPtr createprimspace ( int iprimspaceArrItemX , int iprimspaceArrItemY ) { staticPrimspace [ iprimspaceArrItemX , iprimspaceArrItemY ] = d . HashSpaceCreate ( IntPtr . Zero ) ; d . GeomSetCategoryBits ( staticPrimspace [ iprimspaceArrItemX , iprimspaceArrItemY ] , ( int ) CollisionCategories . Space ) ; d . SpaceSetSublevel ( space , 1 ) ; d . SpaceAdd ( space , staticPrimspace [ iprimspaceArrItemX , iprimspaceArrItemY ] ) ; return staticPrimspace [ iprimspaceArrItemX , iprimspaceArrItemY ] ; }
Creates a new space at X Y
Creates a new space at X Y
// creating a new space for prim and inserting it into main space. //            waitForSpaceUnlock(space);
A pointer to the created space
A pointer to the created space
iprimspaceArrItemX
int
None
iprimspaceArrItemY
int
None