Click or drag to resize

RealExplosion Class

Creates a realistic explosion based on raycasting. Objects in the open will be affected, but objects behind static bodies will not. A body that is half in cover, half in the open will get half the force applied to the end in the open.
Inheritance Hierarchy

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

The RealExplosion type exposes the following members.

Constructors
 NameDescription
Public methodRealExplosionInitializes a new instance of the RealExplosion class
Top
Properties
 NameDescription
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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets 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 methodToStringReturns 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 fieldEdgeRatio Ratio of arc length to angle from edges to first ray tested. Defaults to 1/40.
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)
Public fieldIgnoreWhenInsideShape Ignore Explosion if it happens inside a shape. Default value is false.
Public fieldMaxAngle Max angle between rays (used when segment is large). Defaults to 15 degrees
Public fieldMaxShapes Maximum number of shapes involved in the explosion. Defaults to 100
Public fieldMinRays How many rays per shape/body/segment. Defaults to 5
Top
Extension Methods
 NameDescription
Public Extension MethodMethodInvoke Calls the object method by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGet Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertyGetT Gets the value of the object property by name.
(Defined by ObjectEx)
Public Extension MethodPropertySet Sets the value of the object property by name.
(Defined by ObjectEx)
Top
See Also