Exemple #1
0
        /// <summary>
        /// Destroys the PhysicsComponent.
        /// </summary>
        public override void Destroy()
        {
            particlePhysics.Remove();
            particlePhysics = null;

            collisionObject.Destroy();
            collisionObject = null;

            base.Destroy();
        }