Example #1
0
        public static CCPhysicsJointMotor Construct(CCPhysicsBody a, CCPhysicsBody b, float rate)
        {
            CCPhysicsJointMotor joint = new CCPhysicsJointMotor();

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

            return(null);
        }
Example #2
0
		public static CCPhysicsJointMotor Construct(CCPhysicsBody a, CCPhysicsBody b, float rate)
		{
			CCPhysicsJointMotor joint = new CCPhysicsJointMotor();

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

			return null;
		}