SKPhysicsJointPin.Create(SKPhysicsBody, SKPhysicsBody, CGPoint) 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.
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
- bodyA
- SKPhysicsBody
- bodyB
- SKPhysicsBody
- anchor
- CGPoint
Returns
- Attributes