BuoyancyController Class |
Namespace: Internal.tainicom.Aether.Physics2D.Controllers
public sealed class BuoyancyController : Controller
The BuoyancyController type exposes the following members.
Name | Description | |
---|---|---|
BuoyancyController |
Initializes a new instance of the BuoyancyController class.
|
Name | Description | |
---|---|---|
Container | ||
World | (Inherited from Controller.) |
Name | Description | |
---|---|---|
AddDisabledCategory |
Adds the category.
(Inherited from FilterData.) | |
AddEnabledCategory |
Adds the category.
(Inherited from FilterData.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IsActiveOn | (Inherited from Controller.) | |
IsInDisabledCategory |
Determines whether this body ignores the the specified controller.
(Inherited from FilterData.) | |
IsInEnabledInCategory |
Determines whether this body ignores the the specified controller.
(Inherited from FilterData.) | |
RemoveDisabledCategory |
Removes the category.
(Inherited from FilterData.) | |
RemoveEnabledCategory |
Removes the category.
(Inherited from FilterData.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Update | (Overrides ControllerUpdate(Single).) |
Name | Description | |
---|---|---|
AngularDragCoefficient |
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.
| |
ControllerCategory | (Inherited from Controller.) | |
Density |
Density of the fluid. Higher values will make things more buoyant, lower values will cause things to sink.
| |
DisabledOnCategories |
Disable the logic on specific categories.
Category.None by default.
(Inherited from FilterData.) | |
DisabledOnGroup |
Disable the logic on specific groups
(Inherited from FilterData.) | |
Enabled | (Inherited from Controller.) | |
EnabledOnCategories |
Enable the logic on specific categories
Category.All by default.
(Inherited from FilterData.) | |
EnabledOnGroup |
Enable the logic on specific groups.
(Inherited from FilterData.) | |
LinearDragCoefficient |
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.
| |
Velocity |
Acts like waterflow. Defaults to 0,0.
|
Name | Description | |
---|---|---|
MethodInvoke |
Calls the object method by name.
(Defined by ObjectEx.) | |
PropertyGet(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertyGetT(String, Object, Boolean) | Overloaded.
Gets the value of the object property by name.
(Defined by ObjectEx.) | |
PropertySet |
Sets the value of the object property by name.
(Defined by ObjectEx.) |