Click or drag to resize
DigitalRuneBuoyancyGravity Property
Gets or sets the gravity acceleration.

Namespace: DigitalRune.Physics.ForceEffects
Assembly: DigitalRune.Physics (in DigitalRune.Physics.dll) Version: 1.10.0.0 (1.10.0.14427)
Syntax
public float Gravity { get; set; }

Property Value

Type: Single
The 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