VRage.Game.ModAPI
IMyNaturalGravityComponent
Assembly: VRage.Game.dll
public interface IMyNaturalGravityComponent
Describes natural gravity provider It may be IMySphericalNaturalGravityComponent or IMyModAPINaturalGravityImplementation
Properties
| Member | Description |
|---|---|
| GravityLimit | Gets distance between Position of gravity provider, and it's most distant point |
| IsWorking | Gets whither block is working or not |
| Position |
Methods
| Member | Description |
|---|---|
| GetGravityMultiplier(Vector3D) | Get gravity scalar |
| GetProxyAABB(out BoundingBoxD) | Get bounding box around gravity provider |
| GetWorldGravity(Vector3D) | Gets gravity vector |
| IsPositionInRange(Vector3D) | Tests if the specified point is within the gravity of this entity. |
Inheritors: