Click or drag to resize

SimpleExplosion Class

Creates a simple explosion that ignores other bodies hiding behind static bodies.
Inheritance Hierarchy

Namespace:  Internal.tainicom.Aether.Physics2D.Common.PhysicsLogic
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class SimpleExplosion : PhysicsLogic

The SimpleExplosion type exposes the following members.

Constructors
  NameDescription
Public methodSimpleExplosion
Initializes a new instance of the SimpleExplosion class
Top
Properties
  NameDescription
Public propertyPower
This is the power used in the power function. A value of 1 means the force applied to bodies in the explosion is linear. A value of 2 means it is exponential.
Public propertyWorld (Inherited from PhysicsLogic.)
Top
Methods
  NameDescription
Public methodActivate
Activate the explosion at the specified position.
Public methodAddDisabledCategory
Adds the category.
(Inherited from FilterData.)
Public methodAddEnabledCategory
Adds the category.
(Inherited from FilterData.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsActiveOn (Inherited from PhysicsLogic.)
Public methodIsInDisabledCategory
Determines whether this body ignores the the specified controller.
(Inherited from FilterData.)
Public methodIsInEnabledInCategory
Determines whether this body ignores the the specified controller.
(Inherited from FilterData.)
Public methodRemoveDisabledCategory
Removes the category.
(Inherited from FilterData.)
Public methodRemoveEnabledCategory
Removes the category.
(Inherited from FilterData.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldControllerCategory (Inherited from PhysicsLogic.)
Public fieldDisabledOnCategories
Disable the logic on specific categories. Category.None by default.
(Inherited from FilterData.)
Public fieldDisabledOnGroup
Disable the logic on specific groups
(Inherited from FilterData.)
Public fieldEnabledOnCategories
Enable the logic on specific categories Category.All by default.
(Inherited from FilterData.)
Public fieldEnabledOnGroup
Enable the logic on specific groups.
(Inherited from FilterData.)
Top
Extension Methods
See Also