Пример #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);
        }
Пример #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;
		}