SKPhysicsBody.Friction 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.
Gets or sets a value between 0.0 and 1.0, with a default of 0.2, that describes the surface roughness of the physics body.
public virtual nfloat Friction { [Foundation.Export("friction")] get; [Foundation.Export("setFriction:")] set; }
member this.Friction : nfloat with get, set
Property Value
- Attributes