Exemplo n.º 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);
        }
Exemplo n.º 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;
		}