Click or drag to resize

BuoyancyController Class

Inheritance Hierarchy

Namespace:  Internal.tainicom.Aether.Physics2D.Controllers
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.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 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 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 methodToString
Returns 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
See Also