SKPhysicsBody.AffectedByGravity Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Whether the body is affected by the SKPhysicsWorld's Gravity vector.
public virtual bool AffectedByGravity { [Foundation.Export("affectedByGravity")] get; [Foundation.Export("setAffectedByGravity:")] set; }
member this.AffectedByGravity : bool with get, set
Property Value
The default value is true
.
- Attributes