Ok habe es hinbekommen.. laugh
Mache es wie im Bulldozer Code:

Code:
while(entTank != NULL) 
	{
		
		
		entTank.force_left  = clamp (key_cuu - key_cud + (key_cur - key_cul) * (1 - 2 * key_cud), -1, 1);
		entTank.force_right = clamp (key_cuu - key_cud + (key_cul - key_cur) * (1 - 2 * key_cud), -1, 1);

		pXcon_setwheel (entFrontLeftWheel, 0,  (-entTank.force_left * speed), 0); 
		pXcon_setwheel (entBackLeftWheel, 0, (-entTank.force_left * speed), 0); 		
		pXcon_setwheel (entFrontRightWheel, 0,  (-entTank.force_right * speed), 0); 
		pXcon_setwheel (entBackRightWheel, 0,  (-entTank.force_right * speed), 0); 
		
		
		
		wait(1);
	}



A8-Com-v 8.47.1