PhysicsBodyComponent.GravityScale Property
Definition¶
Namespace: Brine2D.ECS.Components
Scales the world gravity applied to this body. Default is 1. Set to 0 to disable gravity on this body without changing the world gravity or providing a direction. Ignored when GravityOverride is set.
public float GravityScale { get; set; }