public BuoyancyController ( AABB container, float density, float linearDragCoefficient, float rotationalDragCoefficient, Vector2 gravity ) : System.Collections.Generic |
container |
FarseerPhysics.Collision.AABB |
Only bodies inside this AABB will be influenced by the controller |
density |
float |
Density of the fluid |
linearDragCoefficient |
float |
Linear drag coefficient of the fluid |
rotationalDragCoefficient |
float |
Rotational drag coefficient of the fluid |
gravity |
Microsoft.Xna.Framework.Vector2 |
The direction gravity acts. Buoyancy force will act in opposite direction of gravity. |
Результат |
System.Collections.Generic |
|