SKPhysicsJointSpring.Create 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.
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
- bodyA
- SKPhysicsBody
- bodyB
- SKPhysicsBody
- anchorA
- CGPoint
- anchorB
- CGPoint
Returns
- Attributes