Пример #1
0
        internal bool TryGetCachedShape(ulong meshHash, OpenSim.Framework.PrimitiveBaseShape shape, bool isDynamic, out PhysicsShape phyShape)
        {
            ShapeCache cache = FindCorrespondingCache(ShapeDeterminer.FindBestShape(shape, isDynamic));

            if (cache != null)
            {
                return(cache.TryGetShape(meshHash, out phyShape));
            }

            phyShape = null;
            return(false);
        }