OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
/// <summary>
/// Change prim in response to a float on water taint.
/// </summary>
/// <param name="timestep"></param>
Change prim in response to a float on water taint.
Change prim in response to a float on water taint .
private void changefloatonwater()
        {
            m_collidesWater = m_taintCollidesWater;
            if (m_collidesWater)
            {
                m_collisionFlags |= CollisionCategories.Water;
            }
            else
            {
                m_collisionFlags &= ~CollisionCategories.Water;
            }
            if (m_assetFailed)
                d.GeomSetCollideBits(prim_geom, BadMeshAssetCollideBits);
            else
                d.GeomSetCollideBits(prim_geom, (int)m_collisionFlags);
        }
private void changefloatonwater ( ) { m_collidesWater = m_taintCollidesWater ; if ( m_collidesWater ) { m_collisionFlags |= CollisionCategories . Water ; } else { m_collisionFlags &= ~ CollisionCategories . Water ; } if ( m_assetFailed ) d . GeomSetCollideBits ( prim_geom , BadMeshAssetCollideBits ) ; else d . GeomSetCollideBits ( prim_geom , ( int ) m_collisionFlags ) ; }
Change prim in response to a float on water taint.
Change prim in response to a float on water taint .
timestep
None