allowsRotation
A Boolean value that indicates whether the physics body is affected by angular forces and impulses applied to it.
Declaration
var allowsRotation: Bool { get set }Discussion
The default value is true. This property is ignored on edge-based bodies, which are unaffected by forces in the system.