Click or drag to resize

BuoyancyController Class

Inheritance Hierarchy
SystemObject
  Internal.tainicom.Aether.Physics2D.Common.PhysicsLogicFilterData
    Internal.tainicom.Aether.Physics2D.ControllersController
      Internal.tainicom.Aether.Physics2D.ControllersBuoyancyController

Namespace: Internal.tainicom.Aether.Physics2D.Controllers
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public sealed class BuoyancyController : Controller

The BuoyancyController type exposes the following members.

Constructors
 NameDescription
Public methodBuoyancyController Initializes a new instance of the BuoyancyController class.
Top
Properties
 NameDescription
Public propertyContainer 
Public propertyWorld
(Inherited from Controller)
Top
Methods
 NameDescription
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 Controller)
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)
Public methodUpdate
(Overrides ControllerUpdate(Single))
Top
Fields
 NameDescription
Public fieldAngularDragCoefficient Controls the rotational drag that the fluid exerts on the bodies within it. Use higher values will simulate thick fluid, like honey, lower values to simulate water-like fluids.
Public fieldControllerCategory
(Inherited from Controller)
Public fieldDensity Density of the fluid. Higher values will make things more buoyant, lower values will cause things to sink.
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 fieldEnabled
(Inherited from Controller)
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 fieldLinearDragCoefficient Controls the linear drag that the fluid exerts on the bodies within it. Use higher values will simulate thick fluid, like honey, lower values to simulate water-like fluids.
Public fieldVelocity Acts like waterflow. Defaults to 0,0.
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