bodyA
INDEX>Sprite Kit> SKPhysicsJoint
物理ボディ接続のための一方のボディです。
@property(retain, nonatomic) SKPhysicsBody *bodyA
解説
物理ボディ接続のための一方のボディです。
設定値
SKPhysicsBody *bodyA
フレームワーク
Sprite Kit
クラス
SKPhysicsJoint
使用可能
iOS 7.0以降
定義
SKPhysicsJoint.h
参照
例文
SKPhysicsJointFixed* fixedJoint = [SKPhysicsJointFixed jointWithBodyA:aBody
bodyB:bBody
anchor:anchor];
[self.scene.physicsWorld addJoint:fixedJoint];