charge
The electrical charge of the physics body.
Declaration
var charge: CGFloat { get set }Discussion
The electrical charge is used by electromagnetic fields to calculate electromagnetic force effects on the physics body. See SKFieldNode.
The electrical charge of the physics body.
var charge: CGFloat { get set }The electrical charge is used by electromagnetic fields to calculate electromagnetic force effects on the physics body. See SKFieldNode.