FluidForceclass exerts fluid buoyancy and drag forces on rigid bodies inside a field.
class FluidForce : public Force
FluidForceclass represents a fluid force that produces buoyancy and drag inside a field. When a rigid body intersects a field to which a
FluidForceobject is assigned, the fluid force determines exactly what volume of the rigid body intersects the field and uses that volume and the densities of the shapes composing the rigid body to calculate a buoyant force. A drag force is also calculated based on the submerged volume, the rigid body's drag multiplier, and the difference between the rigid body's velocity and the fluid's current velocity.
||A fluid force is a specific type of force.|