예제 #1
0
        public static CCPhysicsJointRatchet Construct(CCPhysicsBody a, CCPhysicsBody b, float phase, float ratchet)
        {
            CCPhysicsJointRatchet joint = new CCPhysicsJointRatchet();

            if (joint != null && joint.Init(a, b, phase, ratchet))
            {
                return(joint);
            }

            return(null);
        }
예제 #2
0
		public static CCPhysicsJointRatchet Construct(CCPhysicsBody a, CCPhysicsBody b, float phase, float ratchet)
		{
			CCPhysicsJointRatchet joint = new CCPhysicsJointRatchet();

			if (joint != null && joint.Init(a, b, phase, ratchet))
			{
				return joint;
			}

			return null;
		}