protected bool Init(CCPhysicsBody a, CCPhysicsBody b, float rate) { if (!base.Init(a, b)) { return(false); } cpConstraint joint = new cpSimpleMotor(GetBodyInfo(a).Body, GetBodyInfo(b).Body, rate); if (joint == null) { return(false); } _info.Add(joint); return(true); }
public void Draw(cpSimpleMotor cpSimpleMotor) { //Not used }