Edit

Share via


SKPhysicsJointPin.Create(SKPhysicsBody, SKPhysicsBody, CGPoint) Method

Definition

Pins body A and body B together at point anchor, which is specified in the coordinate system of the containing scene.

[Foundation.Export("jointWithBodyA:bodyB:anchor:")]
public static SpriteKit.SKPhysicsJointPin Create (SpriteKit.SKPhysicsBody bodyA, SpriteKit.SKPhysicsBody bodyB, CoreGraphics.CGPoint anchor);
static member Create : SpriteKit.SKPhysicsBody * SpriteKit.SKPhysicsBody * CoreGraphics.CGPoint -> SpriteKit.SKPhysicsJointPin

Parameters

anchor
CGPoint

Returns

Attributes

Applies to