Beispiel #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);
        }
Beispiel #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;
		}