| BuoyancyGravity Property |
Gets or sets the gravity acceleration.
Namespace: DigitalRune.Physics.ForceEffectsAssembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax public float Gravity { get; set; }
Public Property Gravity As Single
Get
Set
public:
property float Gravity {
float get ();
void set (float value);
}
member Gravity : float32 with get, set
Property Value
Type:
SingleThe gravity acceleration. The default value is
9.81.
Remarks
The gravity acts against the normal vector direction of the
Surface. This
gravity is only used to compute the magnitude of the buoyancy force. The
Buoyancy does not actually pull objects "down". The
Gravity
force effect is responsible for pulling objects down.
See Also