Buoyancy |
The BuoyancyController type exposes the following members.
| 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. |