SKPhysicsBody.ApplyImpulse 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.
Overloads
ApplyImpulse(CGVector, CGPoint) |
Applies an impulse, in Newton-seconds, to the physics body through the specified point. |
ApplyImpulse(CGVector) |
Applies an impulse, in Newton-seconds, through the center of mass of the physics body. |
ApplyImpulse(CGVector, CGPoint)
Applies an impulse, in Newton-seconds, to the physics body through the specified point.
[Foundation.Export("applyImpulse:atPoint:")]
public virtual void ApplyImpulse (CoreGraphics.CGVector impulse, CoreGraphics.CGPoint point);
abstract member ApplyImpulse : CoreGraphics.CGVector * CoreGraphics.CGPoint -> unit
override this.ApplyImpulse : CoreGraphics.CGVector * CoreGraphics.CGPoint -> unit
Parameters
- impulse
- CGVector
- point
- CGPoint
- Attributes
Applies to
ApplyImpulse(CGVector)
Applies an impulse, in Newton-seconds, through the center of mass of the physics body.
[Foundation.Export("applyImpulse:")]
public virtual void ApplyImpulse (CoreGraphics.CGVector impulse);
abstract member ApplyImpulse : CoreGraphics.CGVector -> unit
override this.ApplyImpulse : CoreGraphics.CGVector -> unit
Parameters
- impulse
- CGVector
- Attributes