BEPUphysics.BroadPhaseEntries.MobileCollidables.EntityCollidable.CollisionRulesUpdated C# (CSharp) Method

CollisionRulesUpdated() protected method

protected CollisionRulesUpdated ( ) : void
return void
        protected override void CollisionRulesUpdated()
        {
            //Try to activate the entity since our collision rules just changed; broadphase might need to update some stuff.
            //Beware, though; if this collidable is still being constructed, then the entity won't be available.
            if (entity != null)
                entity.activityInformation.Activate();
        }