private void createJoint() {
		if (this.created) {
			return;
		}
		
		RevoluteJointDef rjd = new RevoluteJointDef();
		Body bodyA = getBody(getEntity());
		Body bodyB = getBody(this.entityB);
		Vec2 a = bodyA.getWorldPoint(new Vec2((float) anchorX, (float) anchorY));
		rjd.initialize(bodyA, bodyB, a);
		rjd.lowerAngle = (float) this.lowerAngle;
		rjd.upperAngle = (float) this.upperAngle;
		rjd.enableLimit = this.limit;
		rjd.collideConnected = this.collide;
		PhysicsService.getInstance(getCore()).getWorld().createJoint(rjd);		
		this.created = true;
	}