Click or drag to resize

BuoyancyController Fields

The BuoyancyController type exposes the following members.

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
See Also