Edit

Share via


SKPhysicsBody.AllowsRotation Property

Definition

Gets or sets a value that tells whether the body can rotate in response to forces and impulses.

public virtual bool AllowsRotation { [Foundation.Export("allowsRotation")] get; [Foundation.Export("setAllowsRotation:")] set; }
member this.AllowsRotation : bool with get, set

Property Value

Attributes

Applies to