setGravityDirection(d: Vec2): void

Set gravity direction.