MonoTouch.SpriteKit.SKPhysicsJoint Class
Base class for subtypes that join bodies in the physics engine.

See Also: SKPhysicsJoint Members

Syntax

[MonoTouch.Foundation.Register("SKPhysicsJoint", true)]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_7_0)]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.Mac_10_0 | MonoTouch.ObjCRuntime.Platform.Mac_10_1 | MonoTouch.ObjCRuntime.Platform.Mac_10_2 | MonoTouch.ObjCRuntime.Platform.Mac_10_3 | MonoTouch.ObjCRuntime.Platform.Mac_10_4 | MonoTouch.ObjCRuntime.Platform.Mac_10_5 | MonoTouch.ObjCRuntime.Platform.Mac_10_6 | MonoTouch.ObjCRuntime.Platform.Mac_10_7 | MonoTouch.ObjCRuntime.Platform.Mac_10_8 | MonoTouch.ObjCRuntime.Platform.Mac_10_9 | MonoTouch.ObjCRuntime.Platform.Mac_10_10 | MonoTouch.ObjCRuntime.Platform.Mac_Version | MonoTouch.ObjCRuntime.Platform.Mac_Arch64 | MonoTouch.ObjCRuntime.Platform.Mac_Arch)]
public abstract class SKPhysicsJoint : MonoTouch.Foundation.NSObject, MonoTouch.Foundation.INSCoding, IDisposable

Remarks

Joints must be added to the MonoTouch.SpriteKit.SKScene's SKScene.PhysicsWorld after the MonoTouch.SpriteKit.SKPhysicsBodys of the MonoTouch.SpriteKit.SKJoint. Adding the joint prior to adding the MonoTouch.SpriteKit.SKPhysicsBodys will result in a segfault.

Subclasses of MonoTouch.SpriteKit.SKPhysicsJoint have a Create static method that should be used to construct instances.

ClassDescription
MonoTouch.SpriteKit.SKPhysicsJointFixedFuses two bodies without allowing movement.
MonoTouch.SpriteKit.SKPhysicsJointLimitLimits the maximum distance between two bodies.
MonoTouch.SpriteKit.SKPhysicsJointPinAllows two bodies to rotate around an anchor point.
MonoTouch.SpriteKit.SKPhysicsJointSlidingAllows two bodies to move along an axis.
MonoTouch.SpriteKit.SKPhysicsJointSpringConnects two bodies with a spring.

Related content

Requirements

Namespace: MonoTouch.SpriteKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0