SKPhysicsJointSpring.Create Method

Definition

Creates a spring joint between the specified bodies at the specified locations.

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

Parameters

anchorA
CGPoint
anchorB
CGPoint

Returns

Attributes

Applies to