SKPhysicsBody.ApplyTorque(nfloat) Method
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.
Applies a torque, in Newton-meters, to the physics body for one time step.
[Foundation.Export("applyTorque:")]
public virtual void ApplyTorque (nfloat torque);
abstract member ApplyTorque : nfloat -> unit
override this.ApplyTorque : nfloat -> unit
Parameters
- torque
- nfloat
- Attributes